From e14264130d54c85706e063ddf6b090b5c2dd4edc Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 30 一月 2026 09:48:06 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/store/index.js | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/admin/src/store/index.js b/admin/src/store/index.js
index f76eee9..6825b73 100644
--- a/admin/src/store/index.js
+++ b/admin/src/store/index.js
@@ -16,8 +16,6 @@
// 鏄惁鏀惰捣
collapse: false
},
- topMenuCurrent: {
- },
topMenuList: {
// 鑿滃崟鍒楄〃
list: [],
@@ -58,22 +56,8 @@
setHomePage (state, homePage) {
state.homePage = homePage
},
- // 璁剧疆棣栭〉璺敱淇℃伅
- setTopMenuCurrent (state, current) {
- console.log("setTopMenuCurrent",current)
- if(current.id !== state.topMenuCurrent.id){
- state.topMenuList.list.forEach(item => {
- console.log(item.id, item.id)
- if (current.id == item.id) {
- state.topMenuCurrent = current
- state.menuData.list = item.children
- }
- })
- }
- },
// 閲嶇疆鑿滃崟
resetMenus: (state) => {
- state.topMenuId=null;
state.menuData.list = []
},
// tags
--
Gitblit v1.9.3