import Vue from 'vue'
import vuex from 'vuex'
import menu from '../util/menuList'
import mutations from './mutations'
import actions from './actions'
Vue.use(vuex);

export default new vuex.Store({
  state:{
    show:false,
    userName:'',
    token:'',
    menuList:menu,
    menuType:false,
    nowTab:'first',
    openedTab:[
      {
        value:'首页',
        routerName:'first',
        delNo:true,
        routerPath:'/index'
      }
    ],
  },
  mutations,
  actions
})
