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

This commit is contained in:
linxi
2026-04-13 19:11:09 +08:00
parent 8c4d588ffa
commit 8f6b2a23d1
+9
View File
@@ -743,12 +743,21 @@ export default {
icon: "none", icon: "none",
duration: 2000 duration: 2000
}) })
if (this.orderGroupInfo.cartInfo && this.orderGroupInfo.cartInfo.length === 1) {
this.$yrouter.replace({ this.$yrouter.replace({
path: "/pages/order/OrderDetails/index", path: "/pages/order/OrderDetails/index",
query: { query: {
id: data.result.orderId 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支付