From 512d33d316bfafe1d7afcf29c849feff7b99f313 Mon Sep 17 00:00:00 2001 From: likexuan Date: Mon, 10 Oct 2022 10:11:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20vsys=20=E9=A1=B5=E9=9D=A2=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/mixin/routerPathParams.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/mixin/routerPathParams.js b/nezha-fronted/src/components/common/mixin/routerPathParams.js index 882e2ccbe..9561c4891 100644 --- a/nezha-fronted/src/components/common/mixin/routerPathParams.js +++ b/nezha-fronted/src/components/common/mixin/routerPathParams.js @@ -88,7 +88,7 @@ export default { configs: this.bottomBox.object.configs ? this.bottomBox.object.configs.map(item => { return { type: item.type, enable: item.enable } }) : '', childrenNum: this.bottomBox.object.childrenNum || '', clientState: this.bottomBox.object.clientState || '', - tsgAppliance: this.bottomBox.object.model.tsgAppliance || '' + tsgAppliance: this.bottomBox.object.model ? this.bottomBox.object.model.tsgAppliance : '' }) this.$router.replace({ path: path, query: params }).catch(err => {}) } else if (from === 'nzDetailList' && this.detailViewRightObj) { @@ -99,7 +99,7 @@ export default { configs: this.detailViewRightObj.configs ? this.detailViewRightObj.configs.map(item => { return { type: item.type, enable: item.enable } }) : '', childrenNum: this.detailViewRightObj.childrenNum || '', clientState: this.detailViewRightObj.clientState || '', - tsgAppliance: this.detailViewRightObj.model.tsgAppliance || '' + tsgAppliance: this.detailViewRightObj.model ? this.detailViewRightObj.model.tsgAppliance : '' }) this.$router.replace({ path: path, query: params }).catch(err => {}) } else if (from === 'bottomBox' && this.targetTab) {