@@ -44,65 +44,85 @@ export const userMock: Record<string, templateOrFn> = {
44
44
{
45
45
path : '/common' ,
46
46
title : '常用组件' ,
47
+ icon : 'AppstoreAddOutlined' ,
47
48
children : [
48
49
{
49
50
path : '/common/icons' ,
50
- title : '图标使用'
51
+ title : '图标使用' ,
52
+ icon : 'AppstoreOutlined'
51
53
} ,
52
54
{
53
55
path : '/common/tour' ,
54
- title : '漫游式引导'
56
+ title : '漫游式引导' ,
57
+ icon : 'AppstoreOutlined'
55
58
} ,
56
59
{
57
60
path : '/common/drag' ,
58
- title : '拖拽组件'
61
+ title : '拖拽组件' ,
62
+ icon : 'AppstoreOutlined'
59
63
}
60
64
]
61
65
} ,
62
66
{
63
67
path : '/draw' ,
64
68
title : '图画' ,
69
+ icon : 'CalendarOutlined' ,
65
70
children : [
66
71
{
67
72
path : '/draw/svg' ,
68
- title : 'svg画图'
73
+ title : 'svg画图' ,
74
+ icon : 'AppstoreOutlined'
69
75
} ,
70
76
{
71
77
path : '/draw/canvas' ,
72
- title : 'canvas画图'
78
+ title : 'canvas画图' ,
79
+ icon : 'AppstoreOutlined'
73
80
}
74
81
]
75
82
} ,
76
83
{
77
84
path : '/user' ,
78
85
title : '用户管理' ,
79
- icon : 'PieChartOutlined ' ,
86
+ icon : 'UserOutlined ' ,
80
87
children : [
81
88
{
82
89
path : '/user/list' ,
83
- title : '用户列表'
90
+ title : '用户列表' ,
91
+ icon : 'AppstoreOutlined'
84
92
}
85
93
]
86
94
} ,
87
95
{
88
96
path : '/iframe' ,
89
97
title : '内嵌页面' ,
98
+ icon : 'MenuOutlined' ,
90
99
children : [
91
100
{
92
101
path : '/iframe/bing' ,
93
- title : '必应'
102
+ title : '必应' ,
103
+ icon : 'AppstoreOutlined'
94
104
}
95
105
]
96
106
} ,
97
107
{
98
108
path : '/link' ,
99
109
title : '外部链接' ,
100
- icon : 'PieChartOutlined ' ,
110
+ icon : 'LinkOutlined ' ,
101
111
children : [
102
112
{
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'
106
126
}
107
127
]
108
128
}
0 commit comments