|
@@ -380,10 +380,13 @@
|
|
that.userInfo = await this.$request.wxlogin()
|
|
that.userInfo = await this.$request.wxlogin()
|
|
console.log("结束登录",that.userInfo)
|
|
console.log("结束登录",that.userInfo)
|
|
console.log("开始获取手机号码")
|
|
console.log("开始获取手机号码")
|
|
- that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
|
|
|
|
- console.log("结束获取手机号码",that.userInfo.phone)
|
|
|
|
- this.showAuthorizePhone = false
|
|
|
|
- this.showAuthorizeUser = true
|
|
|
|
|
|
+ this.$nextTick(function() {
|
|
|
|
+ that.userInfo.phone = that.$request.getPhone(e, that.userInfo)
|
|
|
|
+ that.showAuthorizePhone = false
|
|
|
|
+ that.showAuthorizeUser = true
|
|
|
|
+ console.log("结束获取手机号码",that.userInfo.phone)
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
|
|
},
|
|
},
|
|
save() {
|
|
save() {
|