登录后跳转到home

This commit is contained in:
高子兴 2024-07-06 09:22:38 +08:00
parent b2543dc524
commit b4eb747b52

View File

@ -23,7 +23,7 @@ const handleLogin = async () => {
if (response.status === 200) {
ElMessage.success('登录成功');
router.push('/profile');
router.push('/');
} else {
ElMessage.error('登录失败,请稍后再试');
}