const list = [ { path: '/logo', name: 'logo', component: () => import('../views/logo.vue') }, { path: '/', component: () => import('../views/index.vue'), children: [ { path: 'GOODS_LIST', name: '商品列表', component: () => import('../views/yingyeting/yingyeting.vue') }, { path: 'GOODS_TYPE', name: '商品种类', component: () => import('../views/home/home.vue') }, { path: 'GOODS_BRAND', name: '商品品牌', component: () => import('../views/brand/brand.vue') }, { path: 'SHOP_MANAGE', name: '店铺管理', component: () => import('../views/store/store.vue') }, { path: 'USER_MANAGE', name: '用户管理', component: () => import('../views/users/users.vue') }, { path: 'ROLE_MANAGE', name: '角色管理', component: () => import('../views/system/role.vue') }, { path: 'PERMISSION_MANAGE', name: '权限管理', component: () => import('../views/system/authority.vue') }, { path: 'SYSTEM_LOG', name: '商品记录', component: () => import('../views/shuju/shuju.vue') }, { path: '/index/yingyeting/addgoods', name: '新建商品', component: () => import('../views/yingyeting/addgoods/addgoods.vue') }, { path: '/', redirect: 'GOODS_LIST' } ] }, { path: '/', redirect: '/index' } ] export default list