首次提交

This commit is contained in:
xk_guohonglei
2020-08-18 15:09:31 +08:00
commit 1f8b3e6e55
57 changed files with 9637 additions and 0 deletions

40
store/modules/base.js Normal file
View File

@@ -0,0 +1,40 @@
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