detection 数据加载完毕时加载图表不显示

This commit is contained in:
hyx
2022-03-04 10:55:12 +08:00
parent e248a65640
commit b640da089a

View File

@@ -370,12 +370,16 @@ export default {
detectionChart.setOption(eventSeverityTrendOption)
//this.isEventSeverityNoData = false
this.loading = false
}else {
//this.isEventSeverityNoData = true
}
}).catch(error => {
}).finally(() => {
this.$nextTick(() => {
this.loading = false
})
})
},