更新
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user