From 3ca91a731665962918a026f521c556f4745ebf35 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 16 十一月 2020 19:20:19 +0800
Subject: [PATCH] 2020-11-16

---
 src/store/action.js |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/src/store/action.js b/src/store/action.js
index 4ed50ec..49e1192 100644
--- a/src/store/action.js
+++ b/src/store/action.js
@@ -46,14 +46,6 @@
   }
 }
 
-// 鍒锋柊tab椤甸潰
-export const refreshTabView = (refreshTab) => {
-  return {
-    type: user.REFRESH_TABVIEW,
-    refreshTab
-  }
-}
-
 // 閲嶇疆缂栬緫鐘舵��
 export const resetEditState = (editState) => {
   return {
@@ -71,10 +63,17 @@
 }
 
 // 鍒濆鍖栨寜閽潈闄�
-export const initActionPermission = (permRoles, permAction) => {
+export const initRolesPermission = (permRoles) => {
+  return {
+    type: user.INIT_ROLESPERMISSION,
+    permRoles: permRoles
+  }
+}
+
+// 鍒濆鍖栨寜閽潈闄�
+export const initActionPermission = (permAction) => {
   return {
     type: user.INIT_ACTIONPERMISSION,
-    permRoles: permRoles,
     permAction: permAction
   }
 }

--
Gitblit v1.8.0