mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-24 13:30:19 +08:00
38 lines
834 B
TypeScript
38 lines
834 B
TypeScript
const dashboard: AuthRoute.Route = {
|
|
name: 'dashboard',
|
|
path: '/dashboard',
|
|
component: 'basic',
|
|
children: [
|
|
{
|
|
name: 'dashboard_analysis',
|
|
path: '/dashboard/analysis',
|
|
component: 'self',
|
|
meta: {
|
|
title: '分析页',
|
|
requiresAuth: true,
|
|
icon: 'icon-park-outline:analysis',
|
|
i18nTitle: 'routes.dashboard.analysis'
|
|
}
|
|
},
|
|
{
|
|
name: 'dashboard_workbench',
|
|
path: '/dashboard/workbench',
|
|
component: 'self',
|
|
meta: {
|
|
title: '工作台',
|
|
requiresAuth: true,
|
|
icon: 'icon-park-outline:workbench',
|
|
i18nTitle: 'routes.dashboard.workbench'
|
|
}
|
|
}
|
|
],
|
|
meta: {
|
|
title: '仪表盘',
|
|
icon: 'mdi:monitor-dashboard',
|
|
order: 1,
|
|
i18nTitle: 'routes.dashboard._value'
|
|
}
|
|
};
|
|
|
|
export default dashboard;
|