feat: 修改提交验证
This commit is contained in:
@@ -299,15 +299,6 @@
|
|||||||
}
|
}
|
||||||
const mobile = resolveMobile();
|
const mobile = resolveMobile();
|
||||||
if (!mobile) return;
|
if (!mobile) return;
|
||||||
if (isHuaxiaType.value) {
|
|
||||||
if (huaxiaMobileRegistered.value === null || checkingHuaxiaMobile.value) {
|
|
||||||
await checkHuaxiaMobile(mobile);
|
|
||||||
}
|
|
||||||
if (huaxiaMobileRegistered.value === false) {
|
|
||||||
sheep.$helper.toast('请正确输入华夏手机号');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (requireSmsCode.value) {
|
if (requireSmsCode.value) {
|
||||||
if (!String(smsCode.value || '').trim()) {
|
if (!String(smsCode.value || '').trim()) {
|
||||||
sheep.$helper.toast('请输入验证码');
|
sheep.$helper.toast('请输入验证码');
|
||||||
|
|||||||
Reference in New Issue
Block a user