diff --git a/nezha-fronted/src/components/page/tool/assetDiscovery.vue b/nezha-fronted/src/components/page/tool/assetDiscovery.vue index 5bc60a3bb..a8f8fda81 100644 --- a/nezha-fronted/src/components/page/tool/assetDiscovery.vue +++ b/nezha-fronted/src/components/page/tool/assetDiscovery.vue @@ -23,10 +23,11 @@ :key="item.id" :label="item.name" :value="item.id"> -
+ + {{item.addr}}
@@ -252,7 +253,7 @@ export default { closeRightBox (refresh) { this.rightBox.show = false if (refresh) { - const findItem = this.tableData.find(item=> item.ip === this.object.manageIp) + const findItem = this.tableData.find(item => item.ip === this.object.manageIp) findItem.imported = 1 } }, @@ -314,7 +315,7 @@ export default { }) }, getIpamData () { - this.$get('ipam/subnet', { pageSize: -1, type: 4 }).then(response => { + this.$get('/dc/subnet', { pageSize: -1 }).then(response => { if (response.code === 200) { this.ipamData = response.data.list }