From 67670c49ab998aa3f6218a09351a62d036419d1d Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Tue, 14 Sep 2021 18:10:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20assetTab=20=E4=BA=8C=E7=BA=A7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=20=E4=BF=AE=E5=A4=8D=20=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E6=95=B0=E5=92=8C=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/tabs/assetTab.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue index aabd4bf9a..b16dea01d 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/assetTab.vue @@ -209,6 +209,11 @@ export default { } this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize) + if (this.from === fromRoute.model) { + this.$set(this.searchLabel, 'modelIds', this.obj.id) + } else if (this.from === fromRoute.dc) { + this.$set(this.searchLabel, 'dcIds', this.obj.id) + } this.tools.loading = true this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => { this.tools.loading = false