From f0602b981659c6d1ff18e8dba4ca1ce89c5f5610 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 22 三月 2020 21:18:34 +0800
Subject: [PATCH] 2020-03-22

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

diff --git a/src/store/action.js b/src/store/action.js
index 0453b80..a0c08bd 100644
--- a/src/store/action.js
+++ b/src/store/action.js
@@ -70,6 +70,16 @@
   }
 }
 
+// 鍒濆鍖栨寜閽潈闄愬強鍒涘缓瀛樺偍杩囩▼鍙敤瀛楁
+export const initPermission = (permRoles, permAction, permFuncField) => {
+  return {
+    type: user.INIT_PERMISSION,
+    permRoles: permRoles,
+    permAction: permAction,
+    permFuncField: permFuncField
+  }
+}
+
 // 閫�鍑洪噸缃�
 export const logout = () => {
   return {

--
Gitblit v1.8.0