CN-820 npm 下钻ip维度:直接进入as a client时没数据

This commit is contained in:
hyx
2022-12-02 13:44:49 +08:00
parent e3422757a2
commit 5818485f3f
3 changed files with 28 additions and 21 deletions

View File

@@ -1221,6 +1221,14 @@ export default {
})
}
})
if (!this.getUrlParam(this.curTabState.tabIndex)) {
let thirdMenu = this.urlChangeParams[this.curTabState.thirdMenu]
if(thirdMenu === 'network.serverIps'){
this.urlChangeParams[this.curTabState.tabIndex] = 1
}else if(thirdMenu === 'network.clientIps' || thirdMenu === 'network.ips'){
this.urlChangeParams[this.curTabState.tabIndex] = 0
}
}
this.changeUrlTabState()
this.$router.push({
path: this.$route.path,
@@ -1894,15 +1902,7 @@ export default {
},
beforeUnmount () {
// 以下元素,检测到内存并未释放
this.list = null
this.tabList = null
this.allList = null
this.drillDownTableConfigs = null
this.curTable = null
this.commonColumnList = null
this.networkTable = null
this.tableData = null
this.tableDataBackup = null
},
unmounted () {
this.isNoData = false