import Layout from '@/layout' const configRouter = { path: '/config', component: Layout, redirect: '/config/receive-address-list', name: 'Setting', meta: { title: 'config', icon: 'el-icon-s-goods' }, children: [ { path: 'receive-address-list', // 收货地址列表 component: () => import('@/views/config/shipping-address-list'), name: 'ShippingAddressList', meta: { title: 'Shipping Address', icon: 'el-icon-location' } }, { path: 'profile', // 用户中心 component: () => import('@/views/profile/index'), name: 'Profile', meta: { title: 'Personal Info', icon: 'user', noCache: true } } ] } export default configRouter