|
@@ -355,7 +355,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'spu/add', // TODO @puhui999:最好拆成 add 和 edit 两个路由;添加商品;修改商品 fix
|
|
|
+ path: 'spu/add',
|
|
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
|
|
name: 'ProductSpuAdd',
|
|
|
meta: {
|
|
@@ -370,7 +370,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|
|
{
|
|
|
path: 'spu/edit/:spuId(\\d+)',
|
|
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
|
|
- name: 'productSpuEdit',
|
|
|
+ name: 'ProductSpuEdit',
|
|
|
meta: {
|
|
|
noCache: true,
|
|
|
hidden: true,
|
|
@@ -383,7 +383,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|
|
{
|
|
|
path: 'spu/detail/:spuId(\\d+)',
|
|
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
|
|
- name: 'productSpuDetail',
|
|
|
+ name: 'ProductSpuDetail',
|
|
|
meta: {
|
|
|
noCache: true,
|
|
|
hidden: true,
|