修改密码页面

This commit is contained in:
禺狨
2023-06-26 10:07:20 +08:00
parent 6e2b2beba8
commit 614f9c70ac
5 changed files with 222 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ import { InitPage } from "../pages/init";
import IndexPage from "../pages/index/index";
import LoginPage from "../pages/login";
import MemberPage from "../pages/member/index";
import ChangePasswordPage from "../pages/change-password/index";
import PrivateRoute from "../components/private-route";
let RootPage: any = null;
@@ -47,6 +48,10 @@ const routes: RouteObject[] = [
path: "/member",
element: <PrivateRoute Component={<MemberPage />} />,
},
{
path: "/change-password",
element: <PrivateRoute Component={<ChangePasswordPage />} />,
},
],
},
];