From a35f963076eecf415487e4c9cc4c102903fec4d2 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 01 十一月 2023 17:11:15 +0800
Subject: [PATCH] 会议保障历史记录+跳转标准地平台

---
 src/store/index.js |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/store/index.js b/src/store/index.js
index 47f0983..27cb7b7 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -30,12 +30,19 @@
     isShowHistory: false,
     description: {},
     selectedLayers: [],
+    userId: "",
+    userName: "",
     // layerData: {}
   },
   mutations: {
     selectedLayer(state, b) {
       state.selectedLayers = b
     },
+    saveUserInfo(state, b) {
+      state.userId = b.userId
+      state.userName = b.userName
+    },
+
     showHistory(state, b) {
       state.isShowHistory = b
     },
@@ -148,15 +155,7 @@
       });
     },
     // 鏇存柊鑺傜偣鏁版嵁
-    updataTreeNode({
-      treeData
-    }, {
-      parentNode,
-      id,
-      nodeValue,
-      key,
-      value
-    }) {
+    updataTreeNode({ treeData }, { parentNode, id, nodeValue, key, value }) {
       (parentNode || treeData).forEach(ele => {
         if (ele.id === id) {
           if (nodeValue) {
@@ -216,7 +215,6 @@
           // selectedLayer: val.selectedLayer
         }
       }
-
     })
   ],
   actions: {

--
Gitblit v1.9.3