fixbug
This commit is contained in:
parent
01dd6a27d1
commit
14660991dd
@ -534,7 +534,7 @@ const login = async () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 如果是验证码登录,且手机号或验证码为空
|
// 如果是验证码登录,且手机号或验证码为空
|
||||||
if (tab.value === "code" && (!telNum.value || !password.value)) {
|
if (tab.value === "code" && (!telNum.value || !code.value)) {
|
||||||
errMsg.value = "手机号或验证码不能为空";
|
errMsg.value = "手机号或验证码不能为空";
|
||||||
isErr.value = true;
|
isErr.value = true;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user