更换部门功能

This commit is contained in:
禺狨
2023-06-29 16:07:45 +08:00
parent f1e50afe32
commit 1ae4f7ed00
4 changed files with 106 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ 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 ChangeDepartmentPage from "../pages/change-department/index";
import StudyPage from "../pages/study/index";
import PrivateRoute from "../components/private-route";
@@ -57,6 +58,10 @@ const routes: RouteObject[] = [
path: "/study",
element: <PrivateRoute Component={<StudyPage />} />,
},
{
path: "/change-department",
element: <PrivateRoute Component={<ChangeDepartmentPage />} />,
},
],
},
];