From 6c16d023f4e7e10d0d5cef69e05e3a348b28d73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Fri, 8 Sep 2023 12:28:00 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20login=20=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20loading=20=E6=9C=AA=E5=85=B3=E9=97=AD=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/login.vue b/src/views/login.vue index 85e3857..e5c73fa 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -125,6 +125,7 @@ const handleLogin = () => { const [err] = await to(userStore.login(loginForm.value)); if (!err) { await router.push({ path: redirect.value || '/' }); + loading.value = false; } else { loading.value = false; // 重新获取验证码