mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 22:19:58 +08:00
管理员日志
This commit is contained in:
@@ -39,6 +39,7 @@ const SystemAdministratorPage = lazy(
|
||||
() => import("../pages/system/administrator")
|
||||
);
|
||||
const SystemAdminrolesPage = lazy(() => import("../pages/system/adminroles"));
|
||||
const SystemLogPage = lazy(() => import("../pages/system/adminlog"));
|
||||
//部门页面
|
||||
const DepartmentPage = lazy(() => import("../pages/department"));
|
||||
//测试
|
||||
@@ -152,6 +153,10 @@ const routes: RouteObject[] = [
|
||||
path: "/system/adminroles",
|
||||
element: <PrivateRoute Component={<SystemAdminrolesPage />} />,
|
||||
},
|
||||
{
|
||||
path: "/system/adminlog",
|
||||
element: <PrivateRoute Component={<SystemLogPage />} />,
|
||||
},
|
||||
{
|
||||
path: "/department",
|
||||
element: <PrivateRoute Component={<DepartmentPage />} />,
|
||||
|
||||
Reference in New Issue
Block a user