更新订单和售后退款详情页面路由
This commit is contained in:
parent
688dad319e
commit
264a29e451
@ -393,7 +393,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/trade/order',
|
||||
path: '/trade',
|
||||
component: Layout,
|
||||
name: 'Order',
|
||||
meta: {
|
||||
@ -401,13 +401,13 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'orderDetail/:orderId(\\d+)', // TODO @puhui999:路径合理的是 trade/order/detail
|
||||
path: 'order/detail/:orderId(\\d+)',
|
||||
component: () => import('@/views/mall/trade/order/detail/index.vue'),
|
||||
name: 'TradeOrderDetail', // TODO @puhui999:路径合理的是 trade/after-sale/detail
|
||||
name: 'TradeOrderDetail',
|
||||
meta: { title: '订单详情', icon: '', activeMenu: '/trade/trade/order' }
|
||||
},
|
||||
{
|
||||
path: 'afterSaleDetail/:orderId(\\d+)',
|
||||
path: 'after-sale/detail/:orderId(\\d+)',
|
||||
component: () => import('@/views/mall/trade/afterSale/detail/index.vue'),
|
||||
name: 'TradeAfterSaleDetail',
|
||||
meta: { title: '退款详情', icon: '', activeMenu: '/trade/trade/after-sale' }
|
||||
|
@ -34,7 +34,6 @@ import * as DeliveryExpressApi from '@/api/mall/trade/delivery/express'
|
||||
import * as TradeOrderApi from '@/api/mall/trade/order'
|
||||
import { copyValueToTarget } from '@/utils'
|
||||
|
||||
// TODO @puhui999:要不 Form 保持和别的模块一样,和 index.vue 放在一个目录下,不作为 components;components 更多要支持给多个模块使用哈。
|
||||
defineOptions({ name: 'OrderDeliveryForm' })
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
|
Loading…
Reference in New Issue
Block a user