CN-468 fix: loading及时消失
This commit is contained in:
@@ -262,13 +262,7 @@ export default {
|
|||||||
this.errorInfo = response.msg || response.message || 'Unknown'
|
this.errorInfo = response.msg || response.message || 'Unknown'
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
setTimeout(() => {
|
this.loading = false
|
||||||
if (!(isIpHostedDomain(this.chartInfo.type) || isAppRelatedDomain(this.chartInfo.type))) {
|
|
||||||
this.loading = false
|
|
||||||
} else if (!this.chartData || this.chartData.length === 0) {
|
|
||||||
this.loading = false
|
|
||||||
}
|
|
||||||
}, 200)
|
|
||||||
})
|
})
|
||||||
} else if (this.isGroup || this.isTabs) {
|
} else if (this.isGroup || this.isTabs) {
|
||||||
this.$refs.chart.$refs.chart.reload()
|
this.$refs.chart.$refs.chart.reload()
|
||||||
|
|||||||
Reference in New Issue
Block a user