From d59f518f466274b2caeb2e01c10c92deafe7c93b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 09 二月 2022 11:48:29 +0800 Subject: [PATCH] 2022-02-09 --- src/store/reducer.js | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/src/store/reducer.js b/src/store/reducer.js index 40d35ee..e262dfa 100644 --- a/src/store/reducer.js +++ b/src/store/reducer.js @@ -24,9 +24,7 @@ let defaultState = { menuTree: null, // 鑿滃崟缁撴瀯鏍� mainMenu: _mainMenu, // 宸查�変富鑿滃崟 - tabviews: [], // 瀵艰埅鏍� collapse: _collapse, // 鏄惁鏀惰捣渚ц竟鏍忓鑸� - isiframe: false, // 鏄惁涓篿frame绐楀彛 editLevel: null, // 缂栬緫鑿滃崟绾у埆锛屽�间负level1銆乴evel2銆乴evel3銆丠S permAction: {}, // 鐢ㄦ埛鎸夐挳鏉冮檺 permMenus: [], // 鐢ㄦ埛涓夌骇鑿滃崟鍒楄〃 @@ -53,18 +51,6 @@ return { ...state, mainMenu: action.mainMenu - } - case Type.MODIFY_TABVIEW: - // tab椤垫敼鍙� - return { - ...state, - tabviews: action.tabviews - } - case Type.TOGGLE_ISIFRAME: - // 鍒囨崲鏄惁涓篿frame鐘舵�� - return { - ...state, - isiframe: action.isiframe } case Type.RESET_EDITLEVEL: // 閲嶇疆缂栬緫绾у埆 @@ -94,9 +80,7 @@ return { menuTree: null, mainMenu: null, - tabviews: [], collapse: localStorage.getItem('collapse') === 'true', - isiframe: false, editLevel: null, permAction: {}, permMenus: [], -- Gitblit v1.8.0