charts.ts 1.2 KB
Newer Older
V
vben 已提交
1
import type { MenuModule } from '/@/router/types';
V
vben 已提交
2
import { t } from '/@/hooks/web/useI18n';
V
vben 已提交
3

4 5 6
const menu: MenuModule = {
  orderNo: 500,
  menu: {
V
vben 已提交
7
    name: t('routes.demo.charts.charts'),
8
    path: '/charts',
9 10 11
    tag: {
      content: 'new',
    },
12
    children: [
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
      {
        path: 'aMap',
        name: t('routes.demo.charts.aMap'),
        tag: {
          dot: true,
        },
      },

      {
        path: 'baiduMap',
        name: t('routes.demo.charts.baiduMap'),
        tag: {
          dot: true,
        },
      },
      {
        path: 'googleMap',
        name: t('routes.demo.charts.googleMap'),
        tag: {
          dot: true,
        },
      },
N
nebv 已提交
35
      {
V
vben 已提交
36
        path: 'apexChart',
V
vben 已提交
37
        name: t('routes.demo.charts.apexChart'),
N
nebv 已提交
38
      },
39

40
      {
V
vben 已提交
41
        path: 'echarts',
42 43 44
        name: 'Echarts',
        children: [
          {
V
vben 已提交
45
            path: 'map',
V
vben 已提交
46
            name: t('routes.demo.charts.map'),
47 48
          },
          {
V
vben 已提交
49
            path: 'line',
V
vben 已提交
50
            name: t('routes.demo.charts.line'),
51 52
          },
          {
V
vben 已提交
53
            path: 'pie',
V
vben 已提交
54
            name: t('routes.demo.charts.pie'),
55 56 57 58 59 60 61
          },
        ],
      },
    ],
  },
};
export default menu;