CN-668:修改BUG: Cannot read properties of null (reading '$el')
This commit is contained in:
@@ -687,9 +687,11 @@ export const networkTable = {
|
||||
hasMetricSearch: false, // 是否有metric下拉列表
|
||||
panelIdOfThirdMenu: drillDownPanelTypeMapping.npmThirdMenu,
|
||||
bytesColumnNameGroup: bytesColumnNameGroupForNpm,
|
||||
bytesCycleColumnNameGroup: bytesCycleColumnNameGroupForNmp,
|
||||
packetsColumnNameGroup: {}, // 无metric下拉列表条件,用不到此属性
|
||||
sessionsColumnNameGroup: {}// 无metric下拉列表条件,用不到此属性
|
||||
sessionsColumnNameGroup: {},// 无metric下拉列表条件,用不到此属性
|
||||
bytesCycleColumnNameGroup: bytesCycleColumnNameGroupForNmp,
|
||||
packetsCycleColumnNameGroup: {},
|
||||
sessionsCycleColumnNameGroup: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1008,7 +1008,6 @@ export default {
|
||||
// 当前表格相关数据初始化
|
||||
this.tableType = this.chart.params ? this.chart.params.name : 'networkOverview'
|
||||
this.curTable = this.networkTable[this.tableType] ? this.networkTable[this.tableType] : this.networkTable.networkOverview
|
||||
this.hasMetricSearch = this.curTable.hasMetricSearch
|
||||
this.customTableTitles = this.$_.cloneDeep(this.curTable.column)
|
||||
this.list = this.$_.cloneDeep(this.curTable.tabList)
|
||||
this.networkTabList = this.curTable.tabList
|
||||
@@ -1043,6 +1042,11 @@ export default {
|
||||
})
|
||||
})
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.hasMetricSearch = this.curTable.hasMetricSearch
|
||||
}, 250)
|
||||
})
|
||||
},
|
||||
setup (props) {},
|
||||
unmounted () {
|
||||
|
||||
Reference in New Issue
Block a user