系统管理人员新建、编辑初步

This commit is contained in:
禺狨
2023-03-06 16:52:27 +08:00
parent 2309710f27
commit 429e4d4ab2
8 changed files with 302 additions and 3 deletions

View File

@@ -9,7 +9,9 @@ import {
MemberPage,
MemberCreatePage,
MemberUpdatePage,
SystemAdministratorPage
SystemAdministratorPage,
AdministratorCreatePage,
AdministratorUpdatePage,
} from "../pages";
const routes: RouteObject[] = [
@@ -41,6 +43,14 @@ const routes: RouteObject[] = [
path: "/system/administrator",
element: <SystemAdministratorPage />,
},
{
path: "/system/administrator/create",
element: <AdministratorCreatePage />,
},
{
path: "/system/administrator/update/:userId",
element: <AdministratorUpdatePage />,
},
],
},
{