You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
748B

  1. const asyncRoutes = [
  2. {
  3. path: '/system',
  4. component: 'Layout',
  5. redirect: '/system/menu',
  6. title: 'System',
  7. meta: {
  8. title: '系统管理'
  9. },
  10. children: [
  11. {
  12. path: 'menu',
  13. component: 'views/system/menu/index',
  14. title: 'SystemMenu',
  15. meta: {
  16. title: '菜单管理'
  17. }
  18. },
  19. {
  20. path: 'user',
  21. component: 'views/system/user/index',
  22. title: 'SystemUser',
  23. meta: {
  24. title: '用户管理'
  25. }
  26. },
  27. {
  28. path: 'role',
  29. component: 'views/system/role/index',
  30. name: 'SystemRole',
  31. meta: {
  32. title: '角色管理'
  33. }
  34. }
  35. ]
  36. }
  37. ]
  38. module.exports = {
  39. asyncRoutes
  40. }