From e46aa927d231af83724683c7286d9db503e24cf7 Mon Sep 17 00:00:00 2001
From: z8018 <1282578289@qq.com>
Date: 星期二, 10 六月 2025 11:46:20 +0800
Subject: [PATCH] 1

---
 项目代码/WCS/WIDESEAWCS_Client/src/store/index.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
index e72d129..f2f38b3 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
@@ -14,6 +14,7 @@
     permission: [],
     isLoading: false,//2020.06.03澧炲姞璺敱鍒囨崲鏃跺姞杞芥彁绀�
     userInfo: null,
+    websocket: null,//websocket
     // wcsState: true//wcs鏈嶅姟鐘舵��
   },
   mutations: {
@@ -38,6 +39,9 @@
     },
     updateLoadingState(state, flag) {
       state.isLoading = flag
+    },
+    setWebsocket(state, data) {
+      state.websocke = data;
     }
   }, getters: {
     getPermission: (state) => (path) => {  //璋冪敤鏂瑰紡 store.getters.getPermission('sys_User')
@@ -76,6 +80,9 @@
     getData: (state) => () => {
       return state.data;
     },
+    getWebsocket: (state) => () => {
+      return state.websocket;
+    },
   }, actions: {
     setPermission(context, data) {
       context.commit('setPermission', data); //璋冪敤鏂瑰紡 store.dispatch('push')

--
Gitblit v1.9.3