@@ -224,18 +224,18 @@
// this.getMobile()
let mobileData = await this.$u.api.getMobile({code:e.detail.code});
- console.log('mobileData',mobileData);
+ // console.log('mobileData',mobileData);
let mobile = mobileData.data?.mobile;
if(mobile){
this.mobile = mobile
- this.login(e);
}else{
- uni.showToast({
- title: '没有获取手机号',
- icon:'error',
- duration: 2000
- });
+ // uni.showToast({
+ // title: '没有获取手机号',
+ // icon:'error',
+ // duration: 2000
+ // });
}
+ this.login(e);
this.loginBtn = true;
},
async login(e){