routes.ts 795 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. export default [
  2. {
  3. name: 'list.table-list',
  4. path: '/order',
  5. component: './Order/Billing',
  6. access: 'billing',
  7. },
  8. {
  9. path: '/jurisdiction',
  10. component: './admin/user/jurisdiction',
  11. access: 'jurisdiction',
  12. },
  13. {
  14. path: '/roleManage',
  15. component: './admin/user/roleManage',
  16. access: 'roleManage',
  17. },
  18. {
  19. path: '/welcome',
  20. name: 'welcome',
  21. component: './Welcome',
  22. access: 'welcome',
  23. },
  24. {
  25. path: '/',
  26. redirect: '/welcome',
  27. },
  28. {
  29. path: '/user',
  30. layout: false,
  31. routes: [
  32. {
  33. path: '/user',
  34. routes: [
  35. {
  36. name: 'login',
  37. path: '/user/login',
  38. component: './user/login',
  39. },
  40. ],
  41. },
  42. ],
  43. },
  44. {
  45. component: './404',
  46. },
  47. ];