From 63c06e02b2b94cfdc45e5442dc7f612f693c9287 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 7 May 2025 10:31:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E9=AA=8C=E8=AF=81=E7=A0=81=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/_core/authentication/code-login.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/src/views/_core/authentication/code-login.vue b/apps/web-antd/src/views/_core/authentication/code-login.vue index 852464ab..657a902d 100644 --- a/apps/web-antd/src/views/_core/authentication/code-login.vue +++ b/apps/web-antd/src/views/_core/authentication/code-login.vue @@ -18,7 +18,7 @@ import { useAuthStore } from '#/store'; defineOptions({ name: 'CodeLogin' }); const loading = ref(false); -const CODE_LENGTH = 6; +const CODE_LENGTH = 4; const tenantInfo = ref({ tenantEnabled: false, @@ -85,8 +85,8 @@ const formSchema = computed((): VbenFormSchema[] => { : $t('authentication.sendCode'); return text; }, - // 验证码长度 在这设置 - codeLength: 4, + // 验证码长度 + codeLength: CODE_LENGTH, placeholder: $t('authentication.code'), handleSendCode: async () => { const { valid, value } = await form.validateField('phoneNumber');