|
@@ -221,7 +221,7 @@
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (false && checkIdCardResult !== true) {
|
|
|
|
|
|
+ if (!this.form.idCard || checkIdCardResult != true) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: checkIdCardResult,
|
|
title: checkIdCardResult,
|
|
icon: "none"
|
|
icon: "none"
|
|
@@ -235,7 +235,7 @@
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (false && checkPhoneResult !== true) {
|
|
|
|
|
|
+ if (!this.form.telephone || checkPhoneResult != true) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: checkPhoneResult,
|
|
title: checkPhoneResult,
|
|
icon: "none"
|
|
icon: "none"
|
|
@@ -261,8 +261,6 @@
|
|
title: "加载中",
|
|
title: "加载中",
|
|
mask: true,
|
|
mask: true,
|
|
})
|
|
})
|
|
-
|
|
|
|
-
|
|
|
|
loginApi.register({
|
|
loginApi.register({
|
|
realName: this.form.realName,
|
|
realName: this.form.realName,
|
|
idCard: this.form.idCard,
|
|
idCard: this.form.idCard,
|
|
@@ -276,7 +274,6 @@
|
|
this.carhelp.setToken(token);
|
|
this.carhelp.setToken(token);
|
|
this.carhelp.setPersonInfo(response.data.memberInfo);
|
|
this.carhelp.setPersonInfo(response.data.memberInfo);
|
|
this.carhelp.setPersonInfoPlus(response.data.data);
|
|
this.carhelp.setPersonInfoPlus(response.data.data);
|
|
- debugger
|
|
|
|
this.gotoUrl("pagesB/pages/login/step1")
|
|
this.gotoUrl("pagesB/pages/login/step1")
|
|
// uni.switchTab({
|
|
// uni.switchTab({
|
|
// url: '/pages/index/index'
|
|
// url: '/pages/index/index'
|