@@ -60,7 +60,7 @@ export const constantRoutes:RouteRecordRaw[] = [
60
60
path : 'dashboard' ,
61
61
component : ( ) => import ( '@/views/dashboard/index.vue' ) ,
62
62
name : 'Dashboard' ,
63
- meta : { title : 'Dashboard ' , icon : 'dashboard' , affix : true }
63
+ meta : { title : '首页 ' , icon : 'dashboard' , affix : true }
64
64
}
65
65
]
66
66
} ,
@@ -72,7 +72,7 @@ export const constantRoutes:RouteRecordRaw[] = [
72
72
path : 'index' ,
73
73
component : ( ) => import ( '@/views/documentation/index.vue' ) ,
74
74
name : 'Documentation' ,
75
- meta : { title : 'Documentation ' , icon : 'documentation' , affix : true }
75
+ meta : { title : '文档 ' , icon : 'documentation' , affix : true }
76
76
}
77
77
]
78
78
} ,
@@ -85,7 +85,7 @@ export const constantRoutes:RouteRecordRaw[] = [
85
85
path : 'index' ,
86
86
component : ( ) => import ( '@/views/guide/index.vue' ) ,
87
87
name : 'Guide' ,
88
- meta : { title : 'Guide ' , icon : 'guide' , noCache : true }
88
+ meta : { title : '引导页 ' , icon : 'guide' , noCache : true }
89
89
}
90
90
]
91
91
} ,
@@ -99,7 +99,7 @@ export const constantRoutes:RouteRecordRaw[] = [
99
99
path : 'index' ,
100
100
component : ( ) => import ( '@/views/profile/index.vue' ) ,
101
101
name : 'Profile' ,
102
- meta : { title : 'Profile ' , icon : 'user' , noCache : true }
102
+ meta : { title : '个人中心 ' , icon : 'user' , noCache : true }
103
103
}
104
104
]
105
105
}
@@ -119,7 +119,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
119
119
name : 'Permission' ,
120
120
meta : {
121
121
alwaysShow : true , // will always show the root menu
122
- title : 'Permission ' ,
122
+ title : '权限测试页 ' ,
123
123
icon : 'lock' ,
124
124
roles : [ 'admin' , 'editor' ] // you can set roles in root nav
125
125
} ,
@@ -129,7 +129,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
129
129
component : ( ) => import ( '@/views/permission/page.vue' ) ,
130
130
name : 'PagePermission' ,
131
131
meta : {
132
- title : 'Page Permission ' ,
132
+ title : '页面权限 ' ,
133
133
roles : [ 'admin' ] // or you can only set roles in sub nav
134
134
}
135
135
} ,
@@ -138,7 +138,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
138
138
component : ( ) => import ( '@/views/permission/directive.vue' ) ,
139
139
name : 'DirectivePermission' ,
140
140
meta : {
141
- title : 'Directive Permission '
141
+ title : '指令权限 '
142
142
// if do not set roles, means: this page does not require permission
143
143
}
144
144
} ,
@@ -147,7 +147,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
147
147
component : ( ) => import ( '@/views/permission/role.vue' ) ,
148
148
name : 'RolePermission' ,
149
149
meta : {
150
- title : 'Role Permission ' ,
150
+ title : '角色权限 ' ,
151
151
roles : [ 'admin' ]
152
152
}
153
153
}
@@ -162,7 +162,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
162
162
path : 'index' ,
163
163
component : ( ) => import ( '@/views/icons/index.vue' ) ,
164
164
name : 'Icons' ,
165
- meta : { title : 'Icons ' , icon : 'icon' , noCache : true }
165
+ meta : { title : '图标 ' , icon : 'icon' , noCache : true }
166
166
}
167
167
]
168
168
} ,
@@ -179,27 +179,27 @@ export const asyncRoutes:RouteRecordRaw[] = [
179
179
redirect : '/example/list' ,
180
180
name : 'Example' ,
181
181
meta : {
182
- title : 'Example ' ,
182
+ title : '综合示例 ' ,
183
183
icon : markRaw ( IconHelp )
184
184
} ,
185
185
children : [
186
186
{
187
187
path : 'create' ,
188
188
component : ( ) => import ( '@/views/example/create.vue' ) ,
189
189
name : 'CreateArticle' ,
190
- meta : { title : 'Create Article ' , icon : 'edit' }
190
+ meta : { title : '创建文章 ' , icon : 'edit' }
191
191
} ,
192
192
{
193
193
path : 'edit/:id(\\d+)' ,
194
194
component : ( ) => import ( '@/views/example/edit.vue' ) ,
195
195
name : 'EditArticle' ,
196
- meta : { hidden : true , title : 'Edit Article ' , noCache : true , activeMenu : '/example/list' }
196
+ meta : { hidden : true , title : '编辑文章 ' , noCache : true , activeMenu : '/example/list' }
197
197
} ,
198
198
{
199
199
path : 'list' ,
200
200
component : ( ) => import ( '@/views/example/list.vue' ) ,
201
201
name : 'ArticleList' ,
202
- meta : { title : 'Article List ' , icon : 'list' }
202
+ meta : { title : '文章列表 ' , icon : 'list' }
203
203
}
204
204
]
205
205
} ,
@@ -212,7 +212,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
212
212
path : 'index' ,
213
213
component : ( ) => import ( '@/views/tab/index.vue' ) ,
214
214
name : 'Tab' ,
215
- meta : { title : 'Tab ' , icon : 'tab' }
215
+ meta : { title : 'Tabs标签页 ' , icon : 'tab' }
216
216
}
217
217
]
218
218
} ,
@@ -223,7 +223,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
223
223
redirect : 'noRedirect' ,
224
224
name : 'ErrorPages' ,
225
225
meta : {
226
- title : 'Error Pages ' ,
226
+ title : '错误页面 ' ,
227
227
icon : '404'
228
228
} ,
229
229
children : [
@@ -250,7 +250,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
250
250
path : 'log' ,
251
251
component : ( ) => import ( '@/views/error-log/index.vue' ) ,
252
252
name : 'ErrorLog' ,
253
- meta : { title : 'Error Log ' , icon : 'bug' }
253
+ meta : { title : '错误日志 ' , icon : 'bug' }
254
254
}
255
255
]
256
256
} ,
@@ -269,25 +269,25 @@ export const asyncRoutes:RouteRecordRaw[] = [
269
269
path : 'export-excel' ,
270
270
component : ( ) => import ( '@/views/excel/export-excel.vue' ) ,
271
271
name : 'ExportExcel' ,
272
- meta : { title : 'Export Excel' }
272
+ meta : { title : '导出 Excel' }
273
273
} ,
274
274
{
275
275
path : 'export-selected-excel' ,
276
276
component : ( ) => import ( '@/views/excel/select-excel.vue' ) ,
277
277
name : 'SelectExcel' ,
278
- meta : { title : 'Export Selected ' }
278
+ meta : { title : '导出 已选择项 ' }
279
279
} ,
280
280
{
281
281
path : 'export-merge-header' ,
282
282
component : ( ) => import ( '@/views/excel/merge-header.vue' ) ,
283
283
name : 'MergeHeader' ,
284
- meta : { title : 'Merge Header ' }
284
+ meta : { title : '导出 多级表头 ' }
285
285
} ,
286
286
{
287
287
path : 'upload-excel' ,
288
288
component : ( ) => import ( '@/views/excel/upload-excel.vue' ) ,
289
289
name : 'UploadExcel' ,
290
- meta : { title : 'Upload Excel' }
290
+ meta : { title : '上传 Excel' }
291
291
}
292
292
]
293
293
} ,
@@ -303,7 +303,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
303
303
path : 'download' ,
304
304
component : ( ) => import ( '@/views/zip/index.vue' ) ,
305
305
name : 'ExportZip' ,
306
- meta : { title : 'Export Zip' }
306
+ meta : { title : '导出 Zip' }
307
307
}
308
308
]
309
309
} ,
@@ -335,7 +335,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
335
335
path : 'index' ,
336
336
component : ( ) => import ( '@/views/theme/index.vue' ) ,
337
337
name : 'Theme' ,
338
- meta : { title : 'Theme ' , icon : 'theme' }
338
+ meta : { title : '主题 ' , icon : 'theme' }
339
339
}
340
340
]
341
341
} ,
@@ -348,7 +348,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
348
348
path : 'index' ,
349
349
component : ( ) => import ( '@/views/clipboard/index.vue' ) ,
350
350
name : 'ClipboardDemo' ,
351
- meta : { title : 'Clipboard ' , icon : 'clipboard' }
351
+ meta : { title : '剪贴板 ' , icon : 'clipboard' }
352
352
}
353
353
]
354
354
} ,
@@ -359,7 +359,7 @@ export const asyncRoutes:RouteRecordRaw[] = [
359
359
children : [
360
360
{
361
361
path : 'https://element-plus.midfar.com' ,
362
- meta : { title : 'External Link ' , icon : 'link' } ,
362
+ meta : { title : '外链 ' , icon : 'link' } ,
363
363
redirect : ''
364
364
}
365
365
]
@@ -370,21 +370,21 @@ export const asyncRoutes:RouteRecordRaw[] = [
370
370
component : Layout ,
371
371
name : 'MyDemo' ,
372
372
meta : {
373
- title : 'MyDemo ' ,
373
+ title : '我的示例 ' ,
374
374
icon : 'component'
375
375
} ,
376
376
children : [
377
377
{
378
378
path : 'element-demo' ,
379
379
component : ( ) => import ( '@/views/mydemo/ElementDemo.vue' ) ,
380
380
name : 'ElementDemo' ,
381
- meta : { title : 'ElementDemo ' , icon : 'skill' }
381
+ meta : { title : 'Element 示例 ' , icon : 'skill' }
382
382
} ,
383
383
{
384
384
path : 'store-demo' ,
385
385
component : ( ) => import ( '@/views/mydemo/StoreDemo.vue' ) ,
386
386
name : 'StoreDemo' ,
387
- meta : { title : 'StoreDemo ' , icon : 'lock' }
387
+ meta : { title : 'Store 示例 ' , icon : 'lock' }
388
388
}
389
389
]
390
390
} ,
0 commit comments