diff --git a/src/views/mall/trade/afterSale/index.vue b/src/views/mall/trade/afterSale/index.vue index 23ff967f..52051c35 100644 --- a/src/views/mall/trade/afterSale/index.vue +++ b/src/views/mall/trade/afterSale/index.vue @@ -246,7 +246,7 @@ const openAfterSaleDetail = (id: number) => { /** 查看订单详情 */ const openOrderDetail = (id: number) => { - push({ name: 'TradeOrderDetail', params: { orderId: id } }) + push({ name: 'TradeOrderDetail', params: { id } }) } /** 商品图预览 */ diff --git a/src/views/member/user/detail/UserOrderList.vue b/src/views/member/user/detail/UserOrderList.vue index b6870bc3..bae0bf0d 100644 --- a/src/views/member/user/detail/UserOrderList.vue +++ b/src/views/member/user/detail/UserOrderList.vue @@ -267,7 +267,7 @@ const getList = async () => { /** 查看订单详情 */ const openDetail = (id: number) => { - push({ name: 'TradeOrderDetail', params: { orderId: id } }) + push({ name: 'TradeOrderDetail', params: { id } }) } /** 初始化 **/