Fix:5085 【商城小程序】用户多笔订单支付成功后,自动跳转到"我的订单"-"待发货"页面
This commit is contained in:
@@ -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支付
|
||||||
|
|||||||
Reference in New Issue
Block a user