Commit a32b9317 by zhangzhen

细节优化

parent fffc7052
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
this.$refs.popupPhone.close() this.$refs.popupPhone.close()
}, },
onGetPhoneNumber(e){ onGetPhoneNumber(e){
if(e.detail.errMsg !== "getPhoneNumber:ok") return;
let that = this; let that = this;
this.phoneCode = e.detail.code; this.phoneCode = e.detail.code;
wx.login({ wx.login({
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
}) })
}, },
onGetPhoneNumber(e){ onGetPhoneNumber(e){
if(e.detail.errMsg !== "getPhoneNumber:ok") return;
console.log(e,111)
let that = this; let that = this;
this.phoneCode = e.detail.code; this.phoneCode = e.detail.code;
wx.login({ wx.login({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment