@@ -13,7 +13,7 @@ export const asyncRouterMap = [
1313 path : '/' ,
1414 name : 'index' ,
1515 component : BasicLayout ,
16- meta : { title : '首页 ' } ,
16+ meta : { title : 'menu.home ' } ,
1717 redirect : '/dashboard/workplace' ,
1818 children : [
1919 // dashboard
@@ -22,25 +22,25 @@ export const asyncRouterMap = [
2222 name : 'dashboard' ,
2323 redirect : '/dashboard/workplace' ,
2424 component : RouteView ,
25- meta : { title : '仪表盘 ' , keepAlive : true , icon : bxAnaalyse , permission : [ 'dashboard' ] } ,
25+ meta : { title : 'menu.dashboard ' , keepAlive : true , icon : bxAnaalyse , permission : [ 'dashboard' ] } ,
2626 children : [
2727 {
2828 path : '/dashboard/analysis/:pageNo([1-9]\\d*)?' ,
2929 name : 'Analysis' ,
3030 component : ( ) => import ( '@/views/dashboard/Analysis' ) ,
31- meta : { title : '分析页 ' , keepAlive : false , permission : [ 'dashboard' ] }
31+ meta : { title : 'menu.dashboard.analysis ' , keepAlive : false , permission : [ 'dashboard' ] }
3232 } ,
3333 // 外部链接
3434 {
3535 path : 'https://www.baidu.com/' ,
3636 name : 'Monitor' ,
37- meta : { title : '监控页(外部) ' , target : '_blank' }
37+ meta : { title : 'menu.dashboard.monitor ' , target : '_blank' }
3838 } ,
3939 {
4040 path : '/dashboard/workplace' ,
4141 name : 'Workplace' ,
4242 component : ( ) => import ( '@/views/dashboard/Workplace' ) ,
43- meta : { title : '工作台 ' , keepAlive : true , permission : [ 'dashboard' ] }
43+ meta : { title : 'menu.dashboard.workplace ' , keepAlive : true , permission : [ 'dashboard' ] }
4444 }
4545 ]
4646 } ,
0 commit comments