Fix:5085 【商城小程序】用户多笔订单支付成功后,自动跳转到"我的订单"-"待发货"页面

This commit is contained in:
linxi
2026-04-13 19:11:09 +08:00
parent 8c4d588ffa
commit 8f6b2a23d1
+15 -6
View File
@@ -743,12 +743,21 @@ export default {
icon: "none",
duration: 2000
})
this.$yrouter.replace({
path: "/pages/order/OrderDetails/index",
query: {
id: data.result.orderId
}
})
if (this.orderGroupInfo.cartInfo && this.orderGroupInfo.cartInfo.length === 1) {
this.$yrouter.replace({
path: "/pages/order/OrderDetails/index",
query: {
id: data.result.orderId
}
})
} else {
this.$yrouter.replace({
path: "/pages/order/MyOrder/index",
query: {
type: 2
}
})
}
break;
case "WECHAT_H5_PAY":
// H5支付