From dc06f58d8ed537555fd529551180f43a0586ec3f Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期日, 22 六月 2025 11:44:43 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/WMS/WIDESEA_WMSClient/src/views/Index.vue |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue"
index a087196..a882a94 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/Index.vue"
@@ -264,7 +264,7 @@
       { name: "white", color: "#fff" },
     ]);
     const links = ref([
-      { text: "涓汉涓績", path: "/UserInfo", id: -1, icon: "el-icon-s-custom" },
+      // { text: "涓汉涓績", path: "/UserInfo", id: -1, icon: "el-icon-s-custom" },
       {
         text: "瀹夊叏閫�鍑�",
         path: "/login",
@@ -324,24 +324,24 @@
       });
     };
 
-    const createSocket = (url) => {
-      // 鍒涘缓WebSocket杩炴帴
-      //"ws://127.0.0.1:9295/admin"
-      client = new WebSocket(url);
+    // const createSocket = (url) => {
+    //   // 鍒涘缓WebSocket杩炴帴
+    //   //"ws://127.0.0.1:9295/admin"
+    //   client = new WebSocket(url);
 
-      client.onopen = function () {
-        client.onmessage = handleMessage;
-        store.commit("setWebsocket", client);
-        console.log("WebSocket 杩炴帴鎴愬姛");
-      };
+    //   client.onopen = function () {
+    //     client.onmessage = handleMessage;
+    //     store.commit("setWebsocket", client);
+    //     console.log("WebSocket 杩炴帴鎴愬姛");
+    //   };
 
-      client.onclose = function () {
-        console.log("WebSocket 杩炴帴鍏抽棴");
-        setTimeout(createSocket, 10000);
-      };
-
-      client.onerror = function () {};
-    };
+    //   client.onclose = function () {
+    //     console.log("WebSocket 杩炴帴鍏抽棴");
+    //     setTimeout(createSocket, 10000);
+    //   };
+    //   //鐩戝惉socket閿欒淇℃伅
+    //   client.onerror = function () {};
+    // };
 
     const changeTheme = (name) => {
       if (theme.value != name) {
@@ -606,7 +606,7 @@
         }
       }
 
-      createSocket("ws://127.0.0.1:9296/" + _userInfo.userName);
+      // createSocket("ws://127.0.0.1:9296/" + _userInfo.userName);
 
       Object.assign(_config.$tabs, { open: open, close: close });
 

--
Gitblit v1.9.3