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()