routes.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. export default [
  2. {
  3. path: '/user',
  4. layout: false,
  5. routes: [
  6. // {
  7. // path: '/user',
  8. // routes: [
  9. // {
  10. // name: 'login',
  11. // path: '/user/login',
  12. // component: './user/Login',
  13. // },
  14. // ],
  15. // },
  16. // {
  17. // component: './404',
  18. // },
  19. ],
  20. },
  21. {
  22. path: '/',
  23. component: '../layouts',
  24. routes: [
  25. {
  26. path: '/',
  27. redirect: '/Equipment',
  28. },
  29. {
  30. path: '/noAuth',
  31. component: './NoAuth',
  32. },
  33. {
  34. path: '/environment',
  35. name: 'environment',
  36. component: './Environment',
  37. },
  38. {
  39. path: '/equipment',
  40. name: 'equipment',
  41. component: './Equipment',
  42. },
  43. {
  44. path: '/runtime',
  45. name: 'runtime',
  46. component: './Runtime',
  47. },
  48. {
  49. path: '/runtime/recordList',
  50. name: 'recordList',
  51. component: './Runtime/RecordList',
  52. },
  53. ],
  54. },
  55. ];