diff --git a/pages/auth/login.vue b/pages/auth/login.vue index f9bfd10..dc3bf9e 100644 --- a/pages/auth/login.vue +++ b/pages/auth/login.vue @@ -31,7 +31,7 @@ const handleLogin = async () => { try { await auth.login(credentials) message.success(t('Login Success')) - router.push('/') + window.location.href = '/' } catch (error) { message.error(t('Login Failed')) }