fix: 下钻表格切换tab时loading不对的问题

This commit is contained in:
chenjinsong
2022-10-11 17:08:25 +08:00
parent f659cf60a3
commit 19206b8144

View File

@@ -303,7 +303,6 @@ export default {
methods: {
/* 参数 extraParams 额外请求参数 */
getChartData (extraParams = {}) {
try {
this.initState()
// const chartParams = this.chart.params
const queryParams = {
@@ -320,13 +319,12 @@ export default {
this.isNoData = true
this.toggleLoading(false)
}
})
} catch (e) {
}).catch(e => {
console.error(e)
} finally {
}).finally(() => {
this.changeUrlTabState()
this.toggleLoading(false)
}
})
},
sortable (title) {
const excludeName = ['queriesFromIE']