From b038c3bddeaf3e3bad583deeeef0ecddbe1407c3 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Tue, 27 Jun 2023 13:15:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=95=E7=A4=BA=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/alarmHandling/index.vue | 8 +++- src/views/components/carouselChart.vue | 59 ++++++++++++++------------ 2 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/views/alarmHandling/index.vue b/src/views/alarmHandling/index.vue index c958e50..8be1f2b 100644 --- a/src/views/alarmHandling/index.vue +++ b/src/views/alarmHandling/index.vue @@ -329,7 +329,7 @@ export default { methods: { imgOnload() { console.log("加载完成"); - this.alarmLoading = false; + //this.alarmLoading = false; this.canvasloading = false; }, handleBigPicbox(val) { @@ -504,7 +504,7 @@ export default { //点击当前行 handleRowClick(row) { //this.$refs.multipleTable.toggleRowSelection(row); - this.alarmLoading = true; + //this.alarmLoading = true; console.log(row); this.photoPic = row.path; console.log(this.photoPic); @@ -525,6 +525,10 @@ export default { }); }, 300); } + setTimeout(function () { + console.log("关闭遮罩"); + this.alarmLoading = false; + }, 1000); this.$nextTick(() => { this.drawline(row); diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 16012f1..8adf22d 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -1,45 +1,34 @@