故事详情排版修改
This commit is contained in:
@@ -121,7 +121,7 @@ const Login: React.FC = () => {
|
||||
// await fetchUserInfo();
|
||||
localStorage.setItem('timeline_user', JSON.stringify(response.data))
|
||||
const urlParams = new URL(window.location.href).searchParams;
|
||||
window.location.href = urlParams.get('redirect') || '/';
|
||||
window.location.href = urlParams.get('redirect')?.split('?redirect=')[1] || '/';
|
||||
return;
|
||||
}
|
||||
console.log(response.message);
|
||||
|
||||
Reference in New Issue
Block a user