登录后跳转到首页
This commit is contained in:
parent
d6608f947f
commit
7efe01bbd3
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue