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