mallPortrait.js 695 B

12345678910111213141516171819202122232425262728
  1. import Layout from '@/layout'
  2. export default {
  3. path: '/mall',
  4. component: Layout,
  5. meta: { title: '商城数据分析', icon: 'link' },
  6. name: 'Mall',
  7. redirect: '/mall/portrait',
  8. alwaysShow: true,
  9. children: [
  10. {
  11. path: 'portrait',
  12. name: 'Portrait',
  13. meta: { title: '数据分析', icon: 'component' },
  14. redirect: '/mall/portrait/index',
  15. component: () => import('@/views/index'),
  16. children: [
  17. {
  18. path: 'index',
  19. hidden: true,
  20. component: () => import('@/views/mall-portrait/index.vue'),
  21. name: 'Index',
  22. meta: { title: '数据分析', activeMenu: '/mall/portrait' }
  23. }
  24. ]
  25. }
  26. ]
  27. }