fix: 修复部分问题

This commit is contained in:
@changcode
2022-08-05 17:40:39 +08:00
parent 81e071cc93
commit 3ff3bfc220
4 changed files with 18 additions and 6 deletions

View File

@@ -553,6 +553,7 @@ export default {
this.$emit('getChartData', this.getCurUrl(), queryParams)
},
handleTabValue (columnName, columnValue) {
this.emitter.emit('get-chart-data', columnValue)
const oldCurTab = this.$store.getters.getNetworkOverviewBeforeTab
const tabGroup = this.list.filter(item => item.label === columnName)
if (tabGroup && tabGroup.length > 0) {
@@ -699,7 +700,7 @@ export default {
}
}
this.loading = true
this.$emit('getChartData', this.getCurUrl(), queryParams)
this.$emit('getChartData', this.getCurUrl(), queryParams, queryParams.q)
}
},
getCurUrl () {