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 | 63 ------------------------------- 1 files changed, 0 insertions(+), 63 deletions(-) diff --git a/src/store/action.js b/src/store/action.js index 7b0bcf7..c0115e7 100644 --- a/src/store/action.js +++ b/src/store/action.js @@ -24,74 +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 resetEditState = (editState) => { - return { - type: user.RESET_EDITSTATE, - editState - } -} - // 閲嶇疆缂栬緫绾у埆 export const resetEditLevel = (editLevel) => { return { type: user.RESET_EDITLEVEL, editLevel - } -} - -// 鍒濆鍖栨寜閽潈闄� -export const initActionPermission = (permAction) => { - return { - type: user.INIT_ACTIONPERMISSION, - permAction: permAction - } -} - -// 鍒濆鍖栬彍鍗曟潈闄� -export const initMenuPermission = (permMenus) => { - return { - type: user.INIT_MENUPERMISSION, - permMenus: permMenus - } -} - -// 鍒濆鍖栬彍鍗曟潈闄� -export const modifyMemberLevel = (memberLevel) => { - return { - type: user.MODIFY_MEMBERLEVEL, - memberLevel: memberLevel - } -} - -// 淇敼鑷畾涔夎彍鍗� -export const modifyCustomMenu = (customMenu) => { - return { - type: user.MODIFY_CUSTOMMENU, - customMenu: customMenu } } -- Gitblit v1.8.0