From b5812c353acc01f80c2e8c1cc2eb5a6635143dd6 Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 6 Jun 2025 18:11:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(navbar):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整 WebSocket URL - 修改图片相关字段的标签 - 注释掉部分冗余代码 - 优化告警对话框和图片预览功能 --- src/App.vue | 4 +- src/layout/components/Navbar.vue | 84 +++++++++++-------- .../info/plcBufferBatteryLifecycle/index.vue | 10 +-- .../securityDoorBatteryLifecycle/index.vue | 10 +-- 4 files changed, 59 insertions(+), 49 deletions(-) diff --git a/src/App.vue b/src/App.vue index 82e48a2..7a2638a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,8 +25,8 @@ export default { return { // WebSocket相关 websocket: null, - // websocketUrl: 'ws://10.42.0.1:7181/ws', - websocketUrl: 'ws://119.45.202.115:7181/ws', + websocketUrl: 'ws://10.42.0.1:7181/ws', + // websocketUrl: 'ws://119.45.202.115:7181/ws', isWebSocketConnected: false, reconnectTimer: null, reconnectAttempts: 0, diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 3696783..76c9045 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -18,6 +18,8 @@ + + + + -
第{{ step.stepSequence }}步
-

{{ step.description }}

-
参考图片:
-
备注:{{ step.remark }}
@@ -196,8 +195,10 @@ 关 闭 + --> - + +