From 35c53153852bcc4d204f8a4397a1a1bb17114583 Mon Sep 17 00:00:00 2001 From: zyh Date: Tue, 2 Jul 2024 16:25:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Host=20Sweep=E9=A1=B5=E9=9D=A2=E8=B0=83?= =?UTF-8?q?=E6=95=B4subnet=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/tool/assetDiscovery.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 }