diff --git a/biji-qianduan/src/components/LoginPage.vue b/biji-qianduan/src/components/LoginPage.vue index 8d7b202..8bc0e97 100644 --- a/biji-qianduan/src/components/LoginPage.vue +++ b/biji-qianduan/src/components/LoginPage.vue @@ -16,6 +16,7 @@ 登录 注册 + 返回首页 @@ -58,6 +59,10 @@ const handleLogin = async () => { const goToRegister = () => { router.push('/register'); }; + +const goToHome = () => { + router.push('/home'); +};