import vuex from 'vuex'
import Vue from 'vue'
import mutations from './mutations'
import actions from './actions'
Vue.use(vuex);
export default new vuex.Store({
  state:{
    show:false,
    userName:'',
    token:'',
    export:false,
    orderRefund:false,
    permission:false,
    readonly:true,
    deletePermission:false,
    distribution:false,
    classManage:false,
    editWatch:false,
    classManageUnlimited:false,
    classTakeUnlimited:false,
    exportFinish:false,
    import:false,
    promoter:false,
    mainLoad:true,
    menuList:[],
    menuType:false,
    nowTab:'first',
    progressList:[],
    openedTab:[
      {
        value:'首页',
        routerName:'first',
        name:'first',
        delNo:true,
        path:'/index'
      }
    ],
  },
  mutations,
  actions
})
