diff --git a/src/views/commandScreen/commandCenter/centerBottom.vue b/src/views/commandScreen/commandCenter/centerBottom.vue index 3fbaa629..f63503db 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 f8ccbdef..3e100b02 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 f2d891c6..eef7eb1b 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 0b4403c1..20e82a72 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 78f413b0..86559588 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); });