From 232cdf071bfe3bd2b77ba05accba89b67fcc1edc Mon Sep 17 00:00:00 2001
From: Zhang-Hong-Lin <a3219986988@163.com>
Date: 星期四, 26 六月 2025 18:51:14 +0800
Subject: [PATCH] 优化bug与添加一键删除按钮

---
 项目代码/WCS/WIDESEAWCS_Client/src/store/index.js |   17 +++++++++++++++++
 1 files changed, 17 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..caba606 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,
+    homedata: {}
     // wcsState: true//wcs鏈嶅姟鐘舵��
   },
   mutations: {
@@ -38,6 +39,16 @@
     },
     updateLoadingState(state, flag) {
       state.isLoading = flag
+    },
+
+
+    
+    uphomedata(state, data) {
+      // console.log('123',data);
+
+      state.homedata = data;
+      // console.log('12state.homedata3',state.homedata);
+
     }
   }, getters: {
     getPermission: (state) => (path) => {  //璋冪敤鏂瑰紡 store.getters.getPermission('sys_User')
@@ -85,6 +96,12 @@
     },
     onLoading(context, flag) {
       context.commit("updateLoadingState", flag);
+    },
+
+
+
+    sethomedata(context, data) {
+      context.commit("uphomedata", data);
     }
   }
 })

--
Gitblit v1.9.3