Blame view

src/router/menus/modules/demo/charts.ts 922 Bytes
1
import type { MenuModule } from '/@/router/types';
2
import { t } from '/@/hooks/web/useI18n';
vben authored
3
4
5
6
const menu: MenuModule = {
  orderNo: 500,
  menu: {
7
    name: t('routes.demo.charts.charts'),
8
    path: '/charts',
Vben authored
9
10
11
    children: [
      {
12
13
14
15
16
17
18
19
20
21
22
23
24
        path: 'aMap',
        name: t('routes.demo.charts.aMap'),
      },

      {
        path: 'baiduMap',
        name: t('routes.demo.charts.baiduMap'),
      },
      {
        path: 'googleMap',
        name: t('routes.demo.charts.googleMap'),
      },
      {
vben authored
25
        path: 'echarts',
26
27
28
        name: 'Echarts',
        children: [
          {
vben authored
29
            path: 'map',
30
            name: t('routes.demo.charts.map'),
31
32
          },
          {
vben authored
33
            path: 'line',
34
            name: t('routes.demo.charts.line'),
35
36
          },
          {
vben authored
37
            path: 'pie',
38
            name: t('routes.demo.charts.pie'),
39
40
41
42
43
44
45
          },
        ],
      },
    ],
  },
};
export default menu;