index.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. export default {
  2. routes: {
  3. path: '/system',
  4. name: 'SystemModule',
  5. component: () => import('@/layout/index.vue'),
  6. meta: {
  7. title: '系统管理',
  8. icon: 'Setting',
  9. permission: 'system'
  10. },
  11. children: [
  12. {
  13. path: 'config',
  14. name: 'SystemConfig',
  15. component: () => import('./views/SystemConfig.vue'),
  16. meta: {
  17. title: '系统配置',
  18. icon: 'Tools'
  19. }
  20. },
  21. {
  22. path: 'plugin-config',
  23. name: 'PluginConfig',
  24. component: () => import('./views/PluginConfig.vue'),
  25. meta: {
  26. title: '插件配置',
  27. icon: 'Connection',
  28. hidden: true
  29. }
  30. }
  31. ]
  32. },
  33. menus: [
  34. {
  35. path: '/system',
  36. title: '系统管理',
  37. icon: 'Setting',
  38. permission: 'system',
  39. children: [
  40. {
  41. path: '/system/config',
  42. title: '系统配置',
  43. icon: 'Tools'
  44. }
  45. ]
  46. }
  47. ]
  48. }