星油云站
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.
 
 
 
 

40 lines
771 B

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