feat:【ele】【mall】spu 代码迁移

This commit is contained in:
puhui999
2025-12-14 16:35:58 +08:00
parent d8c87c0f7c
commit 3102eb511f
16 changed files with 2339 additions and 825 deletions

View File

@@ -18,7 +18,7 @@ const routes: RouteRecordRaw[] = [
title: '商品添加',
activePath: '/mall/product/spu',
},
component: () => import('#/views/mall/product/spu/modules/form.vue'),
component: () => import('#/views/mall/product/spu/form/index.vue'),
},
{
path: String.raw`spu/edit/:id(\d+)`,
@@ -27,25 +27,16 @@ const routes: RouteRecordRaw[] = [
title: '商品编辑',
activePath: '/mall/product/spu',
},
component: () => import('#/views/mall/product/spu/modules/form.vue'),
component: () => import('#/views/mall/product/spu/form/index.vue'),
},
{
path: String.raw`spu/detail/:id(\d+)`,
name: 'ProductSpuDetail',
meta: {
title: '商品详情',
activePath: '/crm/business',
},
component: () => import('#/views/mall/product/spu/modules/detail.vue'),
},
{
path: '/product/spu',
name: 'ProductSpu',
meta: {
title: '商品列表',
activePath: '/mall/product/spu',
},
component: () => import('#/views/mall/product/spu/index.vue'),
component: () => import('#/views/mall/product/spu/form/index.vue'),
},
],
},