|
|
@@ -202,11 +202,11 @@
|
|
|
}
|
|
|
telBind(req).then(res => {
|
|
|
if (res.code == 0 && res.data) {
|
|
|
- const auth = cacheManager.get('auth');
|
|
|
- auth.userName = loginData.phoneNumber;
|
|
|
- // 更新用户信息
|
|
|
- cacheManager.set('auth', auth)
|
|
|
- // 返回重新支付
|
|
|
+ cacheManager.updateObject('auth', {
|
|
|
+ userName: loginData.phoneNumber
|
|
|
+ })
|
|
|
+ const auth = cacheManager.get('auth');
|
|
|
+ // 返回重新支付
|
|
|
handleBack();
|
|
|
emits('success', auth)
|
|
|
}
|