修改密码

This commit is contained in:
禺狨
2023-03-08 13:41:53 +08:00
parent d66c19bb4c
commit 16bc8b027f
5 changed files with 85 additions and 3 deletions

View File

@@ -14,15 +14,15 @@ export const Header: React.FC = () => {
if (key === "login_out") {
dispatch(LoginOutActionCreator());
navigate("/login");
} else if (key === "edit_password") {
navigate("/editPasswor");
} else if (key === "change_password") {
navigate("/change-password");
}
};
const items: MenuProps["items"] = [
{
label: "修改密码",
key: "edit_password",
key: "change_password",
},
{
label: "退出登录",