From fe22a005df48900e883d99f807787f38ed0416c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=9D=AD=E8=BE=89?= Date: Wed, 22 Nov 2023 17:32:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/login/components/login-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/login/components/login-form.vue b/frontend/src/views/login/components/login-form.vue index b115763fa..222afbeae 100644 --- a/frontend/src/views/login/components/login-form.vue +++ b/frontend/src/views/login/components/login-form.vue @@ -286,8 +286,8 @@ const mfaLogin = async (auto: boolean) => { if (isLoggingIn) { return; } - isLoggingIn = true; if ((!auto && mfaLoginForm.code) || (auto && mfaLoginForm.code.length === 6)) { + isLoggingIn = true; mfaLoginForm.name = loginForm.name; mfaLoginForm.password = loginForm.password; const res = await mfaLoginApi(mfaLoginForm);