From 4a6f9f2fcfef81b3e80feeb5b43ba78e87bbb203 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 12 Aug 2022 16:27:31 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2129=20=20fix=EF=BC=9A=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?asset=E6=98=AF=20=E9=80=89=E6=8B=A9=20parent=20Asset=20?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9=E8=87=AA=E8=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/asset/assetBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue index bba6fc72f..70426226f 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue @@ -638,7 +638,7 @@ export default { return new Promise(resolve => { this.$get(this.url, { pageSize: -1, vmh: 1 }).then(response => { if (response.code === 200) { - this.options.parentAssetOptions = response.data.list + this.options.parentAssetOptions = response.data.list.filter(item => item.id !== this.editAsset.id) } resolve() })