From b640da089a226e54896f4d83a7d46233e465df47 Mon Sep 17 00:00:00 2001 From: hyx Date: Fri, 4 Mar 2022 10:55:12 +0800 Subject: [PATCH] =?UTF-8?q?detection=20=E6=95=B0=E6=8D=AE=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=AE=8C=E6=AF=95=E6=97=B6=E5=8A=A0=E8=BD=BD=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/detections/Index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/detections/Index.vue b/src/views/detections/Index.vue index 9f2035f9..fb3deb0e 100644 --- a/src/views/detections/Index.vue +++ b/src/views/detections/Index.vue @@ -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 + }) }) },