Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e136514

Browse files
feat: 菜单更新
1 parent 6e1d997 commit e136514

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed

‎src/mock/modules/user.ts

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,65 +44,85 @@ export const userMock: Record<string, templateOrFn> = {
4444
{
4545
path: '/common',
4646
title: '常用组件',
47+
icon: 'AppstoreAddOutlined',
4748
children: [
4849
{
4950
path: '/common/icons',
50-
title: '图标使用'
51+
title: '图标使用',
52+
icon: 'AppstoreOutlined'
5153
},
5254
{
5355
path: '/common/tour',
54-
title: '漫游式引导'
56+
title: '漫游式引导',
57+
icon: 'AppstoreOutlined'
5558
},
5659
{
5760
path: '/common/drag',
58-
title: '拖拽组件'
61+
title: '拖拽组件',
62+
icon: 'AppstoreOutlined'
5963
}
6064
]
6165
},
6266
{
6367
path: '/draw',
6468
title: '图画',
69+
icon: 'CalendarOutlined',
6570
children: [
6671
{
6772
path: '/draw/svg',
68-
title: 'svg画图'
73+
title: 'svg画图',
74+
icon: 'AppstoreOutlined'
6975
},
7076
{
7177
path: '/draw/canvas',
72-
title: 'canvas画图'
78+
title: 'canvas画图',
79+
icon: 'AppstoreOutlined'
7380
}
7481
]
7582
},
7683
{
7784
path: '/user',
7885
title: '用户管理',
79-
icon: 'PieChartOutlined',
86+
icon: 'UserOutlined',
8087
children: [
8188
{
8289
path: '/user/list',
83-
title: '用户列表'
90+
title: '用户列表',
91+
icon: 'AppstoreOutlined'
8492
}
8593
]
8694
},
8795
{
8896
path: '/iframe',
8997
title: '内嵌页面',
98+
icon: 'MenuOutlined',
9099
children: [
91100
{
92101
path: '/iframe/bing',
93-
title: '必应'
102+
title: '必应',
103+
icon: 'AppstoreOutlined'
94104
}
95105
]
96106
},
97107
{
98108
path: '/link',
99109
title: '外部链接',
100-
icon: 'PieChartOutlined',
110+
icon: 'LinkOutlined',
101111
children: [
102112
{
103-
path: 'http://www.baidu.com',
104-
title: '百度一下',
105-
isLink: true
113+
path: 'https://github.com/manongguai/react-vite-admin',
114+
title: 'GitHub',
115+
icon: 'AppstoreOutlined'
116+
},
117+
{
118+
path: 'https://gitee.com/kirk958617/react-vite-admin',
119+
title: 'Gitee',
120+
icon: 'AppstoreOutlined'
121+
},
122+
{
123+
path: 'https://kirk.wang/',
124+
title: '作者博客',
125+
icon: 'AppstoreOutlined'
106126
}
107127
]
108128
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /