@@ -113,13 +113,11 @@
|
||||
},
|
||||
onLoad: function() {},
|
||||
methods: {
|
||||
...mapMutations(["updateUserInfo", "saveUserInfoToStorge"]),
|
||||
onChooseAvatar(e) {
|
||||
console.log(e)
|
||||
...mapMutations(["updateUserInfo"]),
|
||||
onChooseAvatar(e) {
|
||||
const {
|
||||
avatarUrl
|
||||
} = e.detail
|
||||
|
||||
this.formDataReg.avatarUrl = avatarUrl
|
||||
},
|
||||
submitLogin(loginform) {
|
||||
@@ -169,8 +167,7 @@
|
||||
sessionKey: this.sessionKey,
|
||||
openId: this.openId,
|
||||
}).then(res => {
|
||||
this.formDataReg.mobile = res.data.phoneNumber
|
||||
console.log(res.data)
|
||||
this.formDataReg.mobile = res.data.phoneNumber
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user