提交 30f898e6 作者: 龚洪江

修复:其余分类菜单显示

上级 73957ece
...@@ -113,6 +113,7 @@ $page-background: #f3f6ff; ...@@ -113,6 +113,7 @@ $page-background: #f3f6ff;
.logo-img { .logo-img {
width: 32px; width: 32px;
height: 32px; height: 32px;
border-radius: 4px;
} }
.logo-text { .logo-text {
......
...@@ -653,45 +653,45 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -653,45 +653,45 @@ export const routerList: Array<RouteObjectType> = [
}, },
children: [ children: [
{ {
path: '/categoryManage/categoryList', path: '/categoryManage/jobServicesCategory/1',
element: withLoadingComponent(<CategoryListView />), element: withLoadingComponent(<CategoryManage />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 1210, id: 1210,
title: '分类列表', title: '作业服务分类',
icon: <SendOutlined />, icon: <SendOutlined />,
}, },
}, },
// { {
// path: '/categoryManage/jobServicesCategory/1', path: '/categoryManage/jobServicesCategory/2',
// element: withLoadingComponent(<CategoryManage />), element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 1210, id: 1220,
// title: '作业服务分类', title: '设备租赁分类',
// icon: <SendOutlined />, icon: <RocketOutlined />,
// }, },
// }, },
// { {
// path: '/categoryManage/jobServicesCategory/2', path: '/categoryManage/jobServicesCategory/3',
// element: withLoadingComponent(<CategoryManage />), element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 1220, id: 1230,
// title: '设备租赁分类', title: '飞手培训分类',
// icon: <RocketOutlined />, icon: <AppstoreAddOutlined />,
// }, },
// }, },
// { {
// path: '/categoryManage/jobServicesCategory/3', path: '/categoryManage/categoryList',
// element: withLoadingComponent(<CategoryManage />), element: withLoadingComponent(<CategoryListView />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 1230, id: 1240,
// title: '飞手培训分类', title: '产品商城分类',
// icon: <AppstoreAddOutlined />, icon: <AppstoreOutlined />,
// }, },
// }, },
// { // {
// path: '/categoryManage/jobServicesCategory/4', // path: '/categoryManage/jobServicesCategory/4',
// element: withLoadingComponent(<CategoryManage />), // element: withLoadingComponent(<CategoryManage />),
...@@ -702,37 +702,37 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -702,37 +702,37 @@ export const routerList: Array<RouteObjectType> = [
// icon: <AppstoreOutlined />, // icon: <AppstoreOutlined />,
// }, // },
// }, // },
// { {
// path: '/categoryManage/jobServicesCategory/0', path: '/categoryManage/jobServicesCategory/0',
// element: withLoadingComponent(<CategoryManage />), element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 1250, id: 1250,
// title: '通用分类', title: '通用分类',
// icon: <CoffeeOutlined />, icon: <CoffeeOutlined />,
// }, },
// }, },
// { {
// path: '/categoryManage/detail/:id', path: '/categoryManage/detail/:id',
// element: withLoadingComponent(<CategoryDetail />), element: withLoadingComponent(<CategoryDetail />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 18600, id: 18600,
// title: '分类详情', title: '分类详情',
// icon: '', icon: '',
// hidden: true, hidden: true,
// }, },
// }, },
// { {
// path: '/categoryManage/DirectoryManage', path: '/categoryManage/DirectoryManage',
// element: withLoadingComponent(<DirectoryManage />), element: withLoadingComponent(<DirectoryManage />),
// errorElement: <ErrorPage />, errorElement: <ErrorPage />,
// meta: { meta: {
// id: 1260, id: 1260,
// title: '目录管理', title: '目录管理',
// icon: <UnorderedListOutlined />, icon: <UnorderedListOutlined />,
// }, },
// }, },
], ],
}, },
// { // {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论