From b4eb747b5204a7894b7a9bfcdf80bf3501e9aee2 Mon Sep 17 00:00:00 2001 From: heshunme Date: Sat, 6 Jul 2024 09:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=90=8E=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0home?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/authentication/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/authentication/Login.vue b/src/views/authentication/Login.vue index 143a251..5da563a 100644 --- a/src/views/authentication/Login.vue +++ b/src/views/authentication/Login.vue @@ -23,7 +23,7 @@ const handleLogin = async () => { if (response.status === 200) { ElMessage.success('登录成功'); - router.push('/profile'); + router.push('/'); } else { ElMessage.error('登录失败,请稍后再试'); }