From 7bc01276b58e1a6d5231c00de501490f36cac4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Mon, 10 Apr 2023 09:11:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=99=BB=E5=BD=95=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E5=AD=97=E6=95=B0=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 768afdc..55dfb3c 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -43,6 +43,10 @@ const LoginPage = () => { message.error("请输入图形验证码"); return; } + if (captchaVal.length < 4) { + message.error("图形验证码错误"); + return; + } if (loading) { return; }