Vben
2021-03-31 8a14069e71d5393cfa5b758f46a1c5c001fa172b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { MenuModule } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
 
const menu: MenuModule = {
  orderNo: 10,
  menu: {
    name: t('routes.dashboard.dashboard'),
    path: '/dashboard',
    tag: {
      dot: true,
      type: 'warn',
    },
    children: [
      {
        path: 'analysis',
        name: t('routes.dashboard.analysis'),
        tag: {
          dot: true,
          type: 'warn',
        },
      },
      {
        path: 'workbench',
        name: t('routes.dashboard.workbench'),
        tag: {
          dot: true,
          type: 'warn',
        },
      },
    ],
  },
};
export default menu;