登录后跳转到首页

This commit is contained in:
谢思 2025-09-26 09:16:36 +08:00
parent d6608f947f
commit 7efe01bbd3
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ function Login(props){
const searchParams = new URLSearchParams(search.substring(1));
const goPage = searchParams.get("go_page");
//
window.location.href = goPage ? goPage : `/${response.data.login}`
window.location.href = goPage ? goPage : `/`
}
}).catch((error) => {
console.log('error',error);