parent
9d8e0d507b
commit
6976c26c37
@ -195,22 +195,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
noTagsView: true
|
noTagsView: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/trade/order',
|
|
||||||
component: Layout,
|
|
||||||
name: 'order',
|
|
||||||
meta: {
|
|
||||||
hidden: true
|
|
||||||
},
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'detail',
|
|
||||||
name: 'TradeOrderDetail',
|
|
||||||
component: () => import('@/views/mall/trade/order/tradeOrderDetail.vue'),
|
|
||||||
meta: { title: '订单详情', hidden: true }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/403',
|
path: '/403',
|
||||||
component: () => import('@/views/Error/403.vue'),
|
component: () => import('@/views/Error/403.vue'),
|
||||||
@ -371,7 +355,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'productSpuAdd', // TODO @puhui999:最好拆成 add 和 edit 两个路由;添加商品;修改商品 fix
|
path: 'spu/add',
|
||||||
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
||||||
name: 'ProductSpuAdd',
|
name: 'ProductSpuAdd',
|
||||||
meta: {
|
meta: {
|
||||||
@ -384,9 +368,9 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'productSpuEdit/:spuId(\\d+)',
|
path: 'spu/edit/:spuId(\\d+)',
|
||||||
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
||||||
name: 'productSpuEdit',
|
name: 'ProductSpuEdit',
|
||||||
meta: {
|
meta: {
|
||||||
noCache: true,
|
noCache: true,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
@ -397,9 +381,9 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'productSpuDetail/:spuId(\\d+)',
|
path: 'spu/detail/:spuId(\\d+)',
|
||||||
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
component: () => import('@/views/mall/product/spu/addForm.vue'),
|
||||||
name: 'productSpuDetail',
|
name: 'ProductSpuDetail',
|
||||||
meta: {
|
meta: {
|
||||||
noCache: true,
|
noCache: true,
|
||||||
hidden: true,
|
hidden: true,
|
||||||
|
@ -400,7 +400,7 @@ const openForm = (id?: number) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 新增
|
// 新增
|
||||||
push('/product/spu/add')
|
push({ name: 'ProductSpuAdd' })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user