资源分类

This commit is contained in:
禺狨
2023-03-08 17:59:59 +08:00
parent c70379c25e
commit 8cde51d53b
16 changed files with 568 additions and 15 deletions

View File

@@ -21,6 +21,9 @@ import {
DepartmentUpdatePage,
ChangePasswordPage,
ResourceImagesPage,
ResourceCategoryPage,
ResourceCategoryCreatePage,
ResourceCategoryUpdatePage,
} from "../pages";
const routes: RouteObject[] = [
@@ -36,6 +39,18 @@ const routes: RouteObject[] = [
path: "/change-password",
element: <ChangePasswordPage />,
},
{
path: "/resource-category",
element: <ResourceCategoryPage />,
},
{
path: "/resource-category/create",
element: <ResourceCategoryCreatePage />,
},
{
path: "/resource-category/update/:catId",
element: <ResourceCategoryUpdatePage />,
},
{
path: "/images",
element: <ResourceImagesPage />,