This commit is contained in:
tcubic
2022-08-05 13:42:30 +08:00
parent fb0ba50d3a
commit a2e35460a1
4 changed files with 10 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ export default createStore({
xglOpenId: 'o9B_fvjtyh2KELQYc2t9A3MEh7JQ', //用户openid
token: h5plugin.getQueryString('token'), //用户token
cardId: h5plugin.getQueryString('cardId'), //carid
nkh: h5plugin.getQueryString('nkh'), //牛卡号
nkh: '', //牛卡号
isDraw: false, //是否抽过奖
isHasAccount: false, //是否存在牛卡号
isAddCustomer: 0, //是否添加过服务人员
@@ -38,12 +38,13 @@ export default createStore({
state.userAccount.token = val.token
},
updateCardId(state,val){
state.userAccount.cardId = val.cardId
// 更新牛卡号
updateeNkh(state,val){
state.userAccount.nkh = val.nkh
},
updateNkh(state,val){
state.userAccount.nkh = val.nkh
updateCardId(state,val){
state.userAccount.cardId = val.cardId
},
updateeEqcodeImg(state,val){