mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-28 15:42:50 +08:00
登录跳转更新组件缓存优化
This commit is contained in:
parent
230f17dfe5
commit
b68006e32f
@ -86,7 +86,7 @@ const LoginPage: React.FC = () => {
|
|||||||
const data = res.data;
|
const data = res.data;
|
||||||
dispatch(loginAction(data));
|
dispatch(loginAction(data));
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
navigate("/");
|
navigate("/", { replace: true });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user