Skip to content

Commit 6e7812a

Browse files
OnPeaceOfMindgitee-org
authored andcommitted
fix: 🐞 修复会员和售后退款中订和单明细查询传递参数错误
Signed-off-by: OnPeaceOfMind <[email protected]>
1 parent 36dc3c0 commit 6e7812a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/mall/trade/afterSale/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ const openAfterSaleDetail = (id: number) => {
246246
247247
/** 查看订单详情 */
248248
const openOrderDetail = (id: number) => {
249-
push({ name: 'TradeOrderDetail', params: { orderId: id } })
249+
push({ name: 'TradeOrderDetail', params: { id } })
250250
}
251251
252252
/** 商品图预览 */

src/views/member/user/detail/UserOrderList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ const getList = async () => {
267267
268268
/** 查看订单详情 */
269269
const openDetail = (id: number) => {
270-
push({ name: 'TradeOrderDetail', params: { orderId: id } })
270+
push({ name: 'TradeOrderDetail', params: { id } })
271271
}
272272
273273
/** 初始化 **/

0 commit comments

Comments
 (0)