From 69a0144ebd18481a64e9f12ba1f999b0f7ec72f6 Mon Sep 17 00:00:00 2001 From: Kven <2955163637@qq.com> Date: Tue, 25 Mar 2025 22:16:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(iot):=20=E5=AE=9E=E7=8E=B0=E5=9F=BA?= =?UTF-8?q?=E4=BA=8E=20Websocket=20=E7=9A=84=E8=AE=BE=E5=A4=87=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新系统标题为"基于MQTT的IOT设备管理系统" - 移除旧的SSE连接,改为使用WebSocket连接 - 新增设备状态、产品状态和报警状态的WebSocket连接及处理逻辑 - 更新面包屑导航和页面标题 - 修改用户编辑页面的标题 - 更新登录页面的标题 --- index.html | 2 +- src/api/product.ts | 9 +- src/components/navbar/index.vue | 2 +- src/router/routes/modules/system.ts | 2 +- src/views/dashboard/workplace/index.vue | 113 ++++++++++++------ src/views/iot/device/index.vue | 2 +- src/views/iot/deviceCard/index.vue | 2 +- .../iot/product/components/product-edit.vue | 4 +- src/views/login/index.vue | 2 +- src/views/login/locale/zh-CN.ts | 2 +- src/views/notification/notice/index.vue | 2 +- .../system/user/components/user-edit.vue | 2 +- src/views/system/user/index.vue | 2 +- 13 files changed, 91 insertions(+), 55 deletions(-) diff --git a/index.html b/index.html index b0e1006..15de931 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico" /> -