From 53b9fb93d0376eb02bb996935f1720b4e95cd897 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 12 十月 2022 14:41:06 +0800
Subject: [PATCH] 2022-10-12

---
 src/store/action.js |   31 +++++++++++++++++++++++--------
 1 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/src/store/action.js b/src/store/action.js
index fed77db..c0115e7 100644
--- a/src/store/action.js
+++ b/src/store/action.js
@@ -8,18 +8,33 @@
   }
 }
 
-// 鍒囨崲涓昏彍鍗�
-export const modifyMainMenu = (selectedMainMenu) => {
+// 鍒濆鍖栬彍鍗曚俊鎭�
+export const modifyMenuTree = (menuTree) => {
   return {
-    type: user.MODIFY_MAINMENU,
-    selectedMainMenu
+    type: user.MODIFY_MENUTREE,
+    menuTree
   }
 }
 
-// 淇敼瀵艰埅鏍忚彍鍗�
-export const modifyTabview = (tabviews) => {
+// 鍒囨崲涓昏彍鍗�
+export const modifyMainMenu = (mainMenu) => {
   return {
-    type: user.MODIFY_TABVIEW,
-    tabviews
+    type: user.MODIFY_MAINMENU,
+    mainMenu
   }
 }
+
+// 閲嶇疆缂栬緫绾у埆
+export const resetEditLevel = (editLevel) => {
+  return {
+    type: user.RESET_EDITLEVEL,
+    editLevel
+  }
+}
+
+// 閫�鍑洪噸缃�
+export const logout = () => {
+  return {
+    type: user.LOGOUT
+  }
+}
\ No newline at end of file

--
Gitblit v1.8.0