fix : vsys 页面判断调整
This commit is contained in:
@@ -88,7 +88,7 @@ export default {
|
|||||||
configs: this.bottomBox.object.configs ? this.bottomBox.object.configs.map(item => { return { type: item.type, enable: item.enable } }) : '',
|
configs: this.bottomBox.object.configs ? this.bottomBox.object.configs.map(item => { return { type: item.type, enable: item.enable } }) : '',
|
||||||
childrenNum: this.bottomBox.object.childrenNum || '',
|
childrenNum: this.bottomBox.object.childrenNum || '',
|
||||||
clientState: this.bottomBox.object.clientState || '',
|
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 => {})
|
this.$router.replace({ path: path, query: params }).catch(err => {})
|
||||||
} else if (from === 'nzDetailList' && this.detailViewRightObj) {
|
} 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 } }) : '',
|
configs: this.detailViewRightObj.configs ? this.detailViewRightObj.configs.map(item => { return { type: item.type, enable: item.enable } }) : '',
|
||||||
childrenNum: this.detailViewRightObj.childrenNum || '',
|
childrenNum: this.detailViewRightObj.childrenNum || '',
|
||||||
clientState: this.detailViewRightObj.clientState || '',
|
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 => {})
|
this.$router.replace({ path: path, query: params }).catch(err => {})
|
||||||
} else if (from === 'bottomBox' && this.targetTab) {
|
} else if (from === 'bottomBox' && this.targetTab) {
|
||||||
|
|||||||
Reference in New Issue
Block a user