From 1ed56de483f781924515fda5613e5c4072b3fcf7 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 28 Sep 2023 09:58:13 +0800 Subject: [PATCH] fix:设备详情折线图修改 --- src/components/Wind/Map.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Wind/Map.vue b/src/components/Wind/Map.vue index d6f260c..a479499 100644 --- a/src/components/Wind/Map.vue +++ b/src/components/Wind/Map.vue @@ -479,7 +479,13 @@ }, mounted() { this.currentHour() - this.$Bus.$on('alarmTableVisible', (res) => (this.alarmTableVisible = res)) + this.$Bus.$on( + 'alarmTableVisible', + (res) => ( + (this.alarmTableVisible = res), + this.alertData(this.PageSize, this.currentPage) + ) + ) // ��������������������� this.initMap() @@ -496,7 +502,7 @@ this.getParamsData() this.windDir() this.newDate() - this.alertData(this.PageSize, this.currentPage) + // this.alertData(this.PageSize, this.currentPage) }, beforeDestroy() { if (this.timer) { -- Gitblit v1.8.0