You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

37 lines
941 B

import Vue from 'vue';
import Vuex from 'vuex';
import mutations from './mutations';
import actions from './actions';
// import device from './device';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
// device
},
state: {
// 当前小程序店铺信息
storeInfo: {},
// 场地占用提交页面信息
occupyInfo: {
storeInfo: {}, // 店铺信息
dateInfo: {}, // 时间信息
typeInfo: {}, // 球场类型
venueList: [], // 选择场地列表
}
},
mutations,
actions,
getters: {
// permissionArr: state=>{
// let _arr = [], _obj = state.permissionObj;
// for(let key in _obj){
// _arr.push({
// key,
// name: _obj[key],
// })
// }
// return _arr;
// }
}
});