From 4a29b1cd27f767a321c3ac380c0093d2e8ea1953 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Mon, 13 Apr 2026 19:11:09 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A5085=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E7=94=A8=E6=88=B7=E5=A4=9A?= =?UTF-8?q?=E7=AC=94=E8=AE=A2=E5=8D=95=E6=94=AF=E4=BB=98=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?"=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95"-"=E5=BE=85=E5=8F=91?= =?UTF-8?q?=E8=B4=A7"=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 8f6b2a23d13d1cd86a42240cbd5fd1d8b7f18c8b) --- pages/order/OrderSubmission/index.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue index dc335f1..cad3f0a 100644 --- a/pages/order/OrderSubmission/index.vue +++ b/pages/order/OrderSubmission/index.vue @@ -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支付