fix: 下钻表格切换tab时loading不对的问题
This commit is contained in:
@@ -303,7 +303,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
/* 参数 extraParams 额外请求参数 */
|
/* 参数 extraParams 额外请求参数 */
|
||||||
getChartData (extraParams = {}) {
|
getChartData (extraParams = {}) {
|
||||||
try {
|
|
||||||
this.initState()
|
this.initState()
|
||||||
// const chartParams = this.chart.params
|
// const chartParams = this.chart.params
|
||||||
const queryParams = {
|
const queryParams = {
|
||||||
@@ -320,13 +319,12 @@ export default {
|
|||||||
this.isNoData = true
|
this.isNoData = true
|
||||||
this.toggleLoading(false)
|
this.toggleLoading(false)
|
||||||
}
|
}
|
||||||
})
|
}).catch(e => {
|
||||||
} catch (e) {
|
|
||||||
console.error(e)
|
console.error(e)
|
||||||
} finally {
|
}).finally(() => {
|
||||||
this.changeUrlTabState()
|
this.changeUrlTabState()
|
||||||
this.toggleLoading(false)
|
this.toggleLoading(false)
|
||||||
}
|
})
|
||||||
},
|
},
|
||||||
sortable (title) {
|
sortable (title) {
|
||||||
const excludeName = ['queriesFromIE']
|
const excludeName = ['queriesFromIE']
|
||||||
|
|||||||
Reference in New Issue
Block a user