From e9c98bcc74be8ecff901d5b89bd6e7a665861120 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 16 Oct 2023 18:52:49 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3238=20fix=EF=BC=9A=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E5=8F=91=E7=8E=B0=20=E6=B7=BB=E5=8A=A0=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=20=E8=A2=AB=E6=B7=BB=E5=8A=A0=E7=9A=84?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E7=8A=B6=E6=80=81=E6=9C=AA=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/tool/assetDiscovery.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/tool/assetDiscovery.vue b/nezha-fronted/src/components/page/tool/assetDiscovery.vue index 2340ada4f..5bc60a3bb 100644 --- a/nezha-fronted/src/components/page/tool/assetDiscovery.vue +++ b/nezha-fronted/src/components/page/tool/assetDiscovery.vue @@ -249,8 +249,12 @@ export default { mounted () { }, methods: { - closeRightBox () { + closeRightBox (refresh) { this.rightBox.show = false + if (refresh) { + const findItem = this.tableData.find(item=> item.ip === this.object.manageIp) + findItem.imported = 1 + } }, async uploadAsset (row) { this.object = this.newObject()