mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-22 06:42:50 +08:00
登录账号吹出报错优化
This commit is contained in:
parent
43854d14d6
commit
f5ba28c435
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user