From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/store/action.js | 62 ------------------------------- 1 files changed, 0 insertions(+), 62 deletions(-) diff --git a/src/store/action.js b/src/store/action.js index e37227b..5fed87e 100644 --- a/src/store/action.js +++ b/src/store/action.js @@ -24,57 +24,11 @@ } } -// 淇敼瀵艰埅鏍忚彍鍗� -export const modifyTabview = (tabviews) => { - return { - type: user.MODIFY_TABVIEW, - tabviews - } -} - -// 淇敼绐楀彛鏍峰紡锛屽尯鍒唅frame涓庢甯搁〉闈� -export const toggleIsiframe = (isiframe) => { - return { - type: user.TOGGLE_ISIFRAME, - isiframe - } -} - -// 閫�鍑虹郴缁熸椂鍙傛暟閲嶇疆 -export const resetState = () => { - return { - type: user.RESET_STATE - } -} - -// 閫�鍑虹郴缁熸椂鍙傛暟閲嶇疆 -export const resetDebug = () => { - return { - type: user.RESET_DEBUG - } -} - -// 閲嶇疆缂栬緫鐘舵�� -export const resetEditState = (editState) => { - return { - type: user.RESET_EDITSTATE, - editState - } -} - // 閲嶇疆缂栬緫绾у埆 export const resetEditLevel = (editLevel) => { return { type: user.RESET_EDITLEVEL, editLevel - } -} - -// 鍒濆鍖栨寜閽潈闄� -export const initRolesPermission = (permRoles) => { - return { - type: user.INIT_ROLESPERMISSION, - permRoles: permRoles } } @@ -99,22 +53,6 @@ return { type: user.MODIFY_MEMBERLEVEL, memberLevel: memberLevel - } -} - -// 鍒濆鏁版嵁鏉冮檺 -export const modifyDataManager = (dataManager) => { - return { - type: user.MODIFY_DATAMANAGER, - dataManager: dataManager - } -} - -// 淇敼鑷畾涔夎彍鍗� -export const modifyCustomMenu = (customMenu) => { - return { - type: user.MODIFY_CUSTOMMENU, - customMenu: customMenu } } -- Gitblit v1.8.0