charts.ts 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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: 'aMap',
  11. name: t('routes.demo.charts.aMap'),
  12. },
  13. {
  14. path: 'baiduMap',
  15. name: t('routes.demo.charts.baiduMap'),
  16. },
  17. {
  18. path: 'googleMap',
  19. name: t('routes.demo.charts.googleMap'),
  20. },
  21. {
  22. path: 'echarts',
  23. name: 'Echarts',
  24. children: [
  25. {
  26. path: 'map',
  27. name: t('routes.demo.charts.map'),
  28. },
  29. {
  30. path: 'line',
  31. name: t('routes.demo.charts.line'),
  32. },
  33. {
  34. path: 'pie',
  35. name: t('routes.demo.charts.pie'),
  36. },
  37. ],
  38. },
  39. ],
  40. },
  41. };
  42. export default menu;