后台登录验证码字数验证

This commit is contained in:
禺狨 2023-04-10 09:11:41 +08:00
parent 980d559fb9
commit 7bc01276b5

View File

@ -43,6 +43,10 @@ const LoginPage = () => {
message.error("请输入图形验证码");
return;
}
if (captchaVal.length < 4) {
message.error("图形验证码错误");
return;
}
if (loading) {
return;
}