const base = { state: { uploadMaxSize: 1024, // 上传图片的大小限制 单位kb baseAdd: { positionStr: '', address: '' }, activeFooter: 0, tokenActive: false, openid: '', unionid: '', carNo: '' }, mutations: { SET_BASEADD: (state, baseAdd) => { state.baseAdd = baseAdd }, SET_ACTIVE: (state, activeFooter) => { state.activeFooter = activeFooter }, SET_TOKENACTIVE: (state, tokenActive) => { state.tokenActive = tokenActive }, SET_OPEN: (state, openid) => { state.openid = openid }, SET_CARNO: (state, carNo) => { state.carNo = carNo }, SET_UNIONID: (state, unionid) => { state.unionid = unionid } } } export default base