config.js 712 B

123456789101112131415161718192021222324252627
  1. import Layout from '@/layout'
  2. const configRouter = {
  3. path: '/config',
  4. component: Layout,
  5. redirect: '/config/receive-address-list',
  6. name: 'Setting',
  7. meta: {
  8. title: 'config',
  9. icon: 'el-icon-s-goods'
  10. },
  11. children: [
  12. {
  13. path: 'receive-address-list', // 收货地址列表
  14. component: () => import('@/views/config/shipping-address-list'),
  15. name: 'ShippingAddressList',
  16. meta: { title: 'Shipping Address', icon: 'el-icon-location' }
  17. },
  18. {
  19. path: 'profile', // 用户中心
  20. component: () => import('@/views/profile/index'),
  21. name: 'Profile',
  22. meta: { title: 'Personal Info', icon: 'user', noCache: true }
  23. }
  24. ]
  25. }
  26. export default configRouter