From 3bb4963f939e3a645c02a507618159766bfe6430 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Wed, 20 Nov 2024 14:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/websocket.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/websocket.vue b/ruoyi-ui/src/views/websocket.vue index 7f71c6a1..067265e5 100644 --- a/ruoyi-ui/src/views/websocket.vue +++ b/ruoyi-ui/src/views/websocket.vue @@ -106,16 +106,16 @@ export default { break; case "0": case "3": + case "externalPlatformOffline": + case "trafficFlowDataEarlyWarning": + this.$emit("newEvent", params); + break; case "2": this.triggerAlert() setTimeout(() => { this.$emit("newEvent", params); }, 1000); // 1000 毫秒 = 1 秒 break; - case "externalPlatformOffline": - case "trafficFlowDataEarlyWarning": - this.$emit("newEvent", params); - break; case "1": if(content.event.warningType==10||content.event.warningType==11){ this.triggerAlert()