Blame view

src/router/routes/modules/project/dashboard.ts 866 Bytes
陈文彬 authored
1
2
import type { AppRouteModule } from '/@/router/types';
vben authored
3
import { LAYOUT } from '/@/router/constant';
4
import { t } from '/@/hooks/web/useI18n';
陈文彬 authored
5
6
const dashboard: AppRouteModule = {
sanmu authored
7
8
  path: '/home',
  name: 'Analysis',
vben authored
9
  component: LAYOUT,
sanmu authored
10
  redirect: '/home',
vben authored
11
  meta: {
sanmu authored
12
13
    hideChildrenInMenu: true,
    orderNo: 1,
14
    icon: 'ion:grid-outline',
sanmu authored
15
    title: t('routes.dashboard.home'),
陈文彬 authored
16
  },
vben authored
17
  children: [
18
    {
sanmu authored
19
      path: '',
20
21
22
      name: 'Analysis',
      component: () => import('/@/views/dashboard/analysis/index.vue'),
      meta: {
23
        // affix: true,
sanmu authored
24
        title: '首页',
25
26
      },
    },
sanmu authored
27
28
29
30
31
32
33
34
    // {
    //   path: 'workbench',
    //   name: 'Workbench',
    //   component: () => import('/@/views/dashboard/workbench/index.vue'),
    //   meta: {
    //     title: t('routes.dashboard.workbench'),
    //   },
    // },
陈文彬 authored
35
  ],
36
37
38
};

export default dashboard;