From 5a30df558c221763e7084a03137b1c5aed9d072d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?piexlMax=28=E5=A5=87=E6=B7=BC?= Date: Fri, 24 Oct 2025 15:50:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=99=BB=E5=BD=95):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E9=95=BF=E5=BA=A6=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/view/login/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/view/login/index.vue b/web/src/view/login/index.vue index 6bb42e826..7a319f8c0 100644 --- a/web/src/view/login/index.vue +++ b/web/src/view/login/index.vue @@ -179,8 +179,7 @@ // 获取验证码 const loginVerify = async () => { const ele = await captcha() - const lengthFromServer = Number(ele.data?.captchaLength) || 0 - captchaRequiredLength.value = Math.max(6, lengthFromServer) + captchaRequiredLength.value = Number(ele.data?.captchaLength) || 0 picPath.value = ele.data?.picPath loginFormData.captchaId = ele.data?.captchaId loginFormData.openCaptcha = ele.data?.openCaptcha