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", icon: "none",
duration: 2000 duration: 2000
}) })
this.$yrouter.replace({ if (this.orderGroupInfo.cartInfo && this.orderGroupInfo.cartInfo.length === 1) {
path: "/pages/order/OrderDetails/index", this.$yrouter.replace({
query: { path: "/pages/order/OrderDetails/index",
id: data.result.orderId query: {
} id: data.result.orderId
}) }
})
} else {
this.$yrouter.replace({
path: "/pages/order/MyOrder/index",
query: {
type: 2
}
})
}
break; break;
case "WECHAT_H5_PAY": case "WECHAT_H5_PAY":
// H5支付 // H5支付