import vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'

export default new vuex.Store({
  state:{
    show:false,
    userName:'',
    token:'',
    orderRefund:false,
    permission:false,
    readonly:true,
    deletePermission:false,
    mainLoad:true,
    menuList:[],
    menuType:false,
    nowTab:'first',
    progressList:[],
    openedTab:[
      {
        value:'首页',
        routerName:'first',
        name:'first',
        delNo:true,
        path:'/index'
      }
    ],
  },
  mutations,
  actions
})
