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 } }) }