fix 修复 login 页面 loading 未关闭问题
This commit is contained in:
parent
d12d21c46d
commit
6c16d023f4
@ -125,6 +125,7 @@ const handleLogin = () => {
|
|||||||
const [err] = await to(userStore.login(loginForm.value));
|
const [err] = await to(userStore.login(loginForm.value));
|
||||||
if (!err) {
|
if (!err) {
|
||||||
await router.push({ path: redirect.value || '/' });
|
await router.push({ path: redirect.value || '/' });
|
||||||
|
loading.value = false;
|
||||||
} else {
|
} else {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
// 重新获取验证码
|
// 重新获取验证码
|
||||||
|
Loading…
x
Reference in New Issue
Block a user