charts.ts 746 B

1234567891011121314151617181920212223242526272829303132333435
  1. import type { MenuModule } from '/@/router/types';
  2. import { t } from '/@/hooks/web/useI18n';
  3. const menu: MenuModule = {
  4. orderNo: 500,
  5. menu: {
  6. name: t('routes.demo.charts.charts'),
  7. path: '/charts',
  8. children: [
  9. {
  10. path: 'apexChart',
  11. name: t('routes.demo.charts.apexChart'),
  12. },
  13. {
  14. path: 'echarts',
  15. name: 'Echarts',
  16. children: [
  17. {
  18. path: 'map',
  19. name: t('routes.demo.charts.map'),
  20. },
  21. {
  22. path: 'line',
  23. name: t('routes.demo.charts.line'),
  24. },
  25. {
  26. path: 'pie',
  27. name: t('routes.demo.charts.pie'),
  28. },
  29. ],
  30. },
  31. ],
  32. },
  33. };
  34. export default menu;