ccjgmwz 2 роки тому
батько
коміт
3d3f47cc22
1 змінених файлів з 5 додано та 3 видалено
  1. 5 3
      xiaochengxu/pages/circle/circle.vue

+ 5 - 3
xiaochengxu/pages/circle/circle.vue

@@ -300,9 +300,11 @@
 			},
 			async getPhoneNumber(e) {
 				that.userInfo = await this.$request.wxlogin()
-				that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
-				this.showAuthorizePhone = false
-				this.showAuthorizeUser = true
+				this.$nextTick(function() {
+					that.userInfo.phone = that.$request.getPhone(e, that.userInfo)
+					that.showAuthorizePhone = false
+					that.showAuthorizeUser = true
+				});
 
 			},
 			delSearchVal() {