feat: dashboard icon

pull/18/MERGE
xingyu 2023-05-19 16:06:58 +08:00
parent ececd5ef5f
commit 44deb06aaa
3 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
export default {
dashboard: 'Dashboard',
dashboard: 'Home',
about: 'About',
workbench: 'Workbench',
analysis: 'Analysis'

View File

@ -1,5 +1,5 @@
export default {
dashboard: 'Dashboard',
dashboard: '首页',
about: '关于',
workbench: '工作台',
analysis: '分析页'

View File

@ -11,7 +11,7 @@ const dashboard: AppRouteModule = {
redirect: '/dashboard/analysis',
meta: {
orderNo: 10,
icon: 'ion:grid-outline',
icon: 'ant-design:home-outlined',
title: t('routes.dashboard.dashboard')
},
children: [
@ -21,7 +21,8 @@ const dashboard: AppRouteModule = {
component: () => import('@/views/dashboard/analysis/index.vue'),
meta: {
// affix: true,
title: t('routes.dashboard.analysis')
title: t('routes.dashboard.analysis'),
icon: 'ant-design:bar-chart-outlined'
}
},
{
@ -29,7 +30,8 @@ const dashboard: AppRouteModule = {
name: 'Workbench',
component: () => import('@/views/dashboard/workbench/index.vue'),
meta: {
title: t('routes.dashboard.workbench')
title: t('routes.dashboard.workbench'),
icon: 'ant-design:appstore-outlined'
}
}
]