rk
昨天 2f65c9f0c9dae7c192a81a79d94b7eba614c8b23
admin/src/store/index.js
@@ -1,5 +1,6 @@
import Vue from 'vue'
import Vuex from 'vuex'
import router from '../router'
Vue.use(Vuex)
const state = {
@@ -60,7 +61,6 @@
  },
  // 设置首页路由信息
  setTopMenuCurrent (state, current) {
    console.log("setTopMenuCurrent",current)
    if(current.id !== state.topMenuCurrent.id){
      state.topMenuList.list.forEach(item => {
        console.log(item.id, item.id)
@@ -73,7 +73,7 @@
  },
  // 重置菜单
  resetMenus: (state) => {
    state.topMenuId=null;
    state.topMenuId=null
    state.menuData.list = []
  },
  //  tags