mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-10-26 10:41:24 +08:00
登录账号吹出报错优化
This commit is contained in:
@@ -73,7 +73,7 @@ export const Header: React.FC = () => {
|
||||
cancelText: "取消",
|
||||
onOk() {
|
||||
dispatch(logoutAction());
|
||||
navigate("/login", { replace: true });
|
||||
window.location.href = "/login";
|
||||
},
|
||||
onCancel() {
|
||||
console.log("Cancel");
|
||||
|
||||
Reference in New Issue
Block a user