fix: 下钻表格切换tab时loading不对的问题
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user