table.ts 567 B

1234567891011121314151617181920212223242526272829
  1. import type { MenuModule } from '/@/router/types';
  2. import { t } from '/@/hooks/web/useI18n';
  3. const menu: MenuModule = {
  4. orderNo: 2,
  5. menu: {
  6. path: '/table',
  7. name: 'routes.table.table',
  8. children: [
  9. {
  10. path: 'table',
  11. name: t('routes.table.basic'),
  12. },
  13. {
  14. path: 'edit',
  15. name: t('routes.table.edit'),
  16. },
  17. {
  18. path: 'image',
  19. name: t('routes.table.image'),
  20. },
  21. {
  22. path: 'attachment',
  23. name: t('routes.table.file'),
  24. },
  25. ],
  26. },
  27. };
  28. export default menu;