form.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import type { MenuModule } from '/@/router/types.d';
  2. const menu: MenuModule = {
  3. orderNo: 40,
  4. menu: {
  5. path: '/form',
  6. name: 'Form',
  7. tag: {
  8. type: 'warn',
  9. dot: true,
  10. },
  11. children: [
  12. {
  13. path: 'basic',
  14. name: '基础表单',
  15. tag: {
  16. type: 'warn',
  17. content: 'updated',
  18. },
  19. },
  20. {
  21. path: 'useForm',
  22. name: 'useForm',
  23. },
  24. {
  25. path: 'refForm',
  26. name: 'RefForm',
  27. },
  28. {
  29. path: 'advancedForm',
  30. name: '可收缩表单',
  31. },
  32. {
  33. path: 'ruleForm',
  34. name: '表单校验',
  35. tag: {
  36. type: 'warn',
  37. content: 'updated',
  38. },
  39. },
  40. {
  41. path: 'dynamicForm',
  42. name: '动态表单',
  43. tag: {
  44. type: 'warn',
  45. content: 'updated',
  46. },
  47. },
  48. {
  49. path: 'customerForm',
  50. name: '自定义组件',
  51. tag: {
  52. type: 'warn',
  53. content: 'updated',
  54. },
  55. },
  56. ],
  57. },
  58. };
  59. export default menu;