|
@@ -178,11 +178,13 @@ export default {
|
178
|
178
|
}
|
179
|
179
|
this.WxGetPhoneAuth({ data: { data: { ...this.WxInfoData, sessionKey: this.UserInfo.sessionKey } } }).then((res) => {
|
180
|
180
|
if (res.data.data.phone) {
|
181
|
|
- this.PutUserInfo({ data: { data: { phone: res.data.data.phone, personId: this.UserInfo.personId } } }).then(() => {
|
182
|
|
- this.EditUserInfo({ name: 'phone', value: res.data.data.phone })
|
183
|
|
- this.ShowPhoneAuthPopup = false
|
184
|
|
- this.$emit('UserInfoChange')
|
185
|
|
- })
|
|
181
|
+ // this.PutUserInfo({ data: { data: { phone: res.data.data.phone, personId: this.UserInfo.personId } } }).then(() => {
|
|
182
|
+ // this.EditUserInfo({ name: 'phone', value: res.data.data.phone })
|
|
183
|
+ // this.ShowPhoneAuthPopup = false
|
|
184
|
+ // this.$emit('UserInfoChange')
|
|
185
|
+ // })
|
|
186
|
+ this.ShowPhoneAuthPopup = false
|
|
187
|
+ this.$emit('UserInfoChange')
|
186
|
188
|
} else {
|
187
|
189
|
wx.showToast({
|
188
|
190
|
title: '获取手机号失败',
|