更新订单和售后退款详情页面路由

This commit is contained in:
puhui999 2023-08-31 16:39:48 +08:00
parent 688dad319e
commit 264a29e451
2 changed files with 4 additions and 5 deletions

View File

@ -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' }

View File

@ -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 componentscomponents 使
defineOptions({ name: 'OrderDeliveryForm' })
const { t } = useI18n() //