From 4e598bff548c0e4a89f30e1523bdfb8b59d97741 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 30 一月 2026 09:59:05 +0800
Subject: [PATCH] tijiao

---
 admin/src/store/index.js |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/admin/src/store/index.js b/admin/src/store/index.js
index 65559a6..f76eee9 100644
--- a/admin/src/store/index.js
+++ b/admin/src/store/index.js
@@ -1,6 +1,5 @@
 import Vue from 'vue'
 import Vuex from 'vuex'
-import router from '../router'
 Vue.use(Vuex)
 
 const state = {
@@ -28,17 +27,10 @@
   // tags鏁扮粍
   tags: [],
   // tagsview鏍囩鏄剧ず闅愯棌
-  isCollapse: false,
-  // 椤堕儴鑿滃崟绱㈠紩
-  currentIndex: 0
+  isCollapse: false
 }
 
 const mutations = {
-  // 璁剧疆椤堕儴鑿滃崟绱㈠紩
-  setCurrentIndex(state, index) {
-    console.log('璁剧疆椤堕儴鑿滃崟绱㈠紩', index)
-    state.currentIndex = index
-  },
   // 鍒囨崲鑿滃崟鐘舵��
   switchCollapseMenu (state, value) {
     if (value != null) {
@@ -81,7 +73,7 @@
   },
   // 閲嶇疆鑿滃崟
   resetMenus: (state) => {
-    state.topMenuId=null
+    state.topMenuId=null;
     state.menuData.list = []
   },
   //  tags

--
Gitblit v1.9.3