From e1b002cc17ad5c88ddee0433e0c9a23ef87dbfbf Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Tue, 4 Jun 2024 20:13:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A4=A7=E5=B1=8F=E5=BA=94?= =?UTF-8?q?=E6=80=A5=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/commandScreen/commandCenter/centerBottom.vue | 6 +++--- src/views/commandScreen/commandCenter/centerTop.vue | 6 +++--- src/views/commandScreen/commandCenter/index.vue | 1 + src/views/commandScreen/commandCenter/leftBottom.vue | 6 +++--- src/views/commandScreen/commandCenter/rightAll.vue | 6 +++--- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/commandScreen/commandCenter/centerBottom.vue b/src/views/commandScreen/commandCenter/centerBottom.vue index 3fbaa62..f63503d 100644 --- a/src/views/commandScreen/commandCenter/centerBottom.vue +++ b/src/views/commandScreen/commandCenter/centerBottom.vue @@ -731,9 +731,9 @@ const setIntervalFn = () => { onMounted(async () => { setIntervalFn(); // 定时三十秒刷新 - // setInterval(() => { - // setIntervalFn(); - // }, 30000); + setInterval(() => { + setIntervalFn(); + }, 30000); }); diff --git a/src/views/commandScreen/commandCenter/centerTop.vue b/src/views/commandScreen/commandCenter/centerTop.vue index f8ccbde..3e100b0 100644 --- a/src/views/commandScreen/commandCenter/centerTop.vue +++ b/src/views/commandScreen/commandCenter/centerTop.vue @@ -275,9 +275,9 @@ const setIntervalFn = () => { onMounted(async () => { setIntervalFn(); // 定时三十秒刷新 - // setInterval(() => { - // setIntervalFn(); - // }, 30000); + setInterval(() => { + setIntervalFn(); + }, 30000); }); diff --git a/src/views/commandScreen/commandCenter/index.vue b/src/views/commandScreen/commandCenter/index.vue index f2d891c..eef7eb1 100644 --- a/src/views/commandScreen/commandCenter/index.vue +++ b/src/views/commandScreen/commandCenter/index.vue @@ -72,6 +72,7 @@ const mqttMSG = () => { title: "查看", timeOut: 60, timeFlag: null, + show: true, mapsDetail: JSON.parse(result.payload) }); }); diff --git a/src/views/commandScreen/commandCenter/leftBottom.vue b/src/views/commandScreen/commandCenter/leftBottom.vue index 0b4403c..20e82a7 100644 --- a/src/views/commandScreen/commandCenter/leftBottom.vue +++ b/src/views/commandScreen/commandCenter/leftBottom.vue @@ -397,9 +397,9 @@ const setIntervalFn = () => { onMounted(async () => { setIntervalFn(); // 定时三十秒刷新 - // setInterval(() => { - // setIntervalFn(); - // }, 30000); + setInterval(() => { + setIntervalFn(); + }, 30000); }); diff --git a/src/views/commandScreen/commandCenter/rightAll.vue b/src/views/commandScreen/commandCenter/rightAll.vue index 78f413b..8655958 100644 --- a/src/views/commandScreen/commandCenter/rightAll.vue +++ b/src/views/commandScreen/commandCenter/rightAll.vue @@ -1419,9 +1419,9 @@ const setIntervalFn = () => { onMounted(async () => { setIntervalFn(); - // setInterval(() => { - // setIntervalFn(); - // }, 30000); + setInterval(() => { + setIntervalFn(); + }, 30000); });