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.

39 lines
851 B

  1. /* Layout */
  2. import Layout from '../views/layout/Layout'
  3. const _import = require('./_import_' + process.env.NODE_ENV)
  4. export default {
  5. routes: [
  6. {
  7. path: '/my/work',
  8. component: Layout,
  9. name: '我的工作台',
  10. meta: {
  11. title: '我的工作台',
  12. icon: 'task'
  13. },
  14. iconCls: 'fa el-icon-menu',
  15. // leaf: true,
  16. children: [
  17. {
  18. path: 'index',
  19. component: _import('myWork/my/index'),
  20. name: '我的',
  21. meta: {
  22. title: '我的',
  23. icon: 'component'
  24. }
  25. },
  26. {
  27. path: 'updateUserInfo',
  28. component: _import('myWork/set/index'),
  29. name: '账户设置',
  30. meta: {
  31. title: '设置',
  32. icon: 'component'
  33. }
  34. },
  35. ]
  36. }
  37. ]
  38. }