|
@@ -169,20 +169,15 @@ export default {
|
169
|
169
|
})
|
170
|
170
|
},
|
171
|
171
|
GetUserPhone (e) {
|
172
|
|
- if (e.detail.errMsg !== 'getPhoneNumber:ok') {
|
173
|
|
- return
|
174
|
|
- }
|
|
172
|
+ // if (e.detail.errMsg !== 'getPhoneNumber:ok') {
|
|
173
|
+ // return
|
|
174
|
+ // }
|
175
|
175
|
|
176
|
176
|
for (let key in this.WxInfoData) {
|
177
|
177
|
this.WxInfoData[key] = e.detail[key]
|
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
|
|
- // })
|
186
|
181
|
this.EditUserInfo({ name: 'phone', value: res.data.data.phone })
|
187
|
182
|
this.ShowPhoneAuthPopup = false
|
188
|
183
|
this.$emit('UserInfoChange')
|