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); });