feature(管理后台): 商品管理

This commit is contained in:
luowenfeng
2022-09-22 11:40:19 +08:00
parent 77a676ee07
commit c7a2ed4a0b
3 changed files with 42 additions and 67 deletions

View File

@ -104,7 +104,7 @@ export const constantRoutes = [
path: 'value/:propertyId(\\d+)',
component: (resolve) => require(['@/views/mall/product/property/value'], resolve),
name: 'PropertyValue',
meta: {title: '规格数据', icon: '', activeMenu: '/mall/property'}
meta: {title: '规格数据', icon: '', activeMenu: '/product/property'}
}
]
}, {
@ -129,6 +129,23 @@ export const constantRoutes = [
meta: {title: '修改生成配置', activeMenu: '/infra/codegen'}
}
]
}, {
path: '/spu',
component: Layout,
hidden: true,
children: [{
path: 'edit/:spuId(\\d+)',
component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
name: 'SpuEdit',
meta: {title: '修改商品', activeMenu: '/product/spu'}
},
{
path: 'add',
component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
name: 'SpuAdd',
meta: {title: '添加商品', activeMenu: '/product/spu'}
}
]
}, {
path: '/bpm',
component: Layout,