-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Expand file tree
/
Copy pathdefaultProps.tsx
More file actions
94 lines (93 loc) · 2.52 KB
/
defaultProps.tsx
File metadata and controls
94 lines (93 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import intl from 'react-intl-universal';
import { BarChartOutlined, SettingOutlined } from '@ant-design/icons';
import IconFont from '@/components/iconfont';
import { BasicLayoutProps } from '@ant-design/pro-layout';
export default {
route: {
routes: [
{
name: intl.get('登录'),
path: '/login',
hideInMenu: true,
component: '@/pages/login/index',
},
{
name: intl.get('初始化'),
path: '/initialization',
hideInMenu: true,
component: '@/pages/initialization/index',
},
{
name: intl.get('错误'),
path: '/error',
hideInMenu: true,
component: '@/pages/error/index',
},
{
path: '/crontab',
name: intl.get('定时任务'),
icon: <IconFont type="ql-icon-crontab" />,
component: '@/pages/crontab/index',
},
{
path: '/statistics',
name: intl.get('统计面板'),
icon: <BarChartOutlined />,
component: '@/pages/statistics/index',
},
{
path: '/subscription',
name: intl.get('订阅管理'),
icon: <IconFont type="ql-icon-subs" />,
component: '@/pages/subscription/index',
},
{
path: '/env',
name: intl.get('环境变量'),
icon: <IconFont type="ql-icon-env" />,
component: '@/pages/env/index',
},
{
path: '/config',
name: intl.get('配置文件'),
icon: <IconFont type="ql-icon-config" />,
component: '@/pages/config/index',
},
{
path: '/script',
name: intl.get('脚本管理'),
icon: <IconFont type="ql-icon-script" />,
component: '@/pages/script/index',
},
{
path: '/dependence',
name: intl.get('依赖管理'),
icon: <IconFont type="ql-icon-dependence" />,
component: '@/pages/dependence/index',
},
{
path: '/log',
name: intl.get('日志管理'),
icon: <IconFont type="ql-icon-log" />,
component: '@/pages/log/index',
},
{
path: '/diff',
name: intl.get('对比工具'),
icon: <IconFont type="ql-icon-diff" />,
component: '@/pages/diff/index',
},
{
path: '/setting',
name: intl.get('系统设置'),
icon: <SettingOutlined />,
component: '@/pages/password/index',
},
],
},
navTheme: 'light',
fixSiderbar: true,
contentWidth: 'Fixed',
splitMenus: false,
siderWidth: 180,
} as BasicLayoutProps;