From a130aab32eb726282e474f4dbb037ab074fd81ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Mon, 26 Aug 2024 10:38:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E6=97=B6=20loading=20=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/login.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/login/login.vue b/src/views/login/login.vue index 37923a1..765c3c7 100644 --- a/src/views/login/login.vue +++ b/src/views/login/login.vue @@ -127,11 +127,12 @@ function handleLogin() { account, password: encrypt(password), isManager: true + }).finally(() => { + loading.value = false }) if (res.success) { goLogin(res.data) } - loading.value = false } }) }