helper.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Layout */
  2. import Layout from '@/layout'
  3. // 授权管理页面
  4. const heloperRoutes = [
  5. {
  6. path: '/helper',
  7. component: Layout,
  8. alwaysShow: true,
  9. redirect: '/helper/video',
  10. name: 'Helper',
  11. meta: {
  12. title: '新手帮助',
  13. icon: 'el-icon-s-promotion',
  14. roles: ['admin', 'normal'],
  15. noCache: true,
  16. proxy: true,
  17. id: 16
  18. },
  19. children: [
  20. {
  21. path: 'video',
  22. component: () => import('@/views/authentic/helper/video'),
  23. name: 'HelperVideo',
  24. meta: {
  25. title: '视频教程',
  26. icon: 'el-icon-menu',
  27. roles: ['admin', 'normal'],
  28. affix: false,
  29. noCache: true,
  30. proxy: false,
  31. id: 17
  32. }
  33. },
  34. {
  35. path: 'document',
  36. component: () => import('@/views/authentic/helper/document'),
  37. name: 'HelperDocument',
  38. meta: {
  39. title: '文档教程',
  40. icon: 'el-icon-menu',
  41. roles: ['admin', 'normal'],
  42. affix: false,
  43. noCache: true,
  44. proxy: false,
  45. id: 18
  46. }
  47. }
  48. ]
  49. }
  50. ]
  51. export default heloperRoutes