Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
admin
Commits
30f898e6
提交
30f898e6
authored
8月 01, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:其余分类菜单显示
上级
73957ece
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
65 行增加
和
64 行删除
+65
-64
index.scss
src/components/layout/index.scss
+1
-0
router.tsx
src/router/router.tsx
+64
-64
没有找到文件。
src/components/layout/index.scss
浏览文件 @
30f898e6
...
@@ -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
{
...
...
src/router/router.tsx
浏览文件 @
30f898e6
...
@@ -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
(<
Category
ListView
/>),
element
:
withLoadingComponent
(<
Category
Manage
/>),
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: 121
0,
id
:
122
0
,
// title: '作业服务
分类',
title
:
'设备租赁
分类'
,
// icon: <Send
Outlined />,
icon
:
<
Rocket
Outlined
/>,
//
},
},
//
},
},
//
{
{
// path: '/categoryManage/jobServicesCategory/2
',
path
:
'/categoryManage/jobServicesCategory/3
'
,
//
element: withLoadingComponent(<CategoryManage />),
element
:
withLoadingComponent
(<
CategoryManage
/>),
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
// id: 122
0,
id
:
123
0
,
// title: '设备租赁
分类',
title
:
'飞手培训
分类'
,
// icon: <Rocket
Outlined />,
icon
:
<
AppstoreAdd
Outlined
/>,
//
},
},
//
},
},
//
{
{
// path: '/categoryManage/jobServicesCategory/3
',
path
:
'/categoryManage/categoryList
'
,
// element: withLoadingComponent(<CategoryManage
/>),
element
:
withLoadingComponent
(<
CategoryListView
/>),
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
// id: 123
0,
id
:
124
0
,
// title: '飞手培训
分类',
title
:
'产品商城
分类'
,
// icon: <AppstoreAdd
Outlined />,
icon
:
<
Appstore
Outlined
/>,
//
},
},
//
},
},
// {
// {
// 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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论