Fix:5081 【商城小程序】用户订单创建后未支付,自动跳转到"我的订单"-“待付款”页面
This commit is contained in:
@@ -330,9 +330,9 @@ export default {
|
||||
duration: 2000
|
||||
})
|
||||
this.$yrouter.replace({
|
||||
path: "/pkg_product/views/sojoumOrderDetails",
|
||||
path: "/pages/order/MyOrder/index",
|
||||
query: {
|
||||
id: data.result.orderId
|
||||
type: 1
|
||||
}
|
||||
});
|
||||
break;
|
||||
@@ -352,9 +352,9 @@ export default {
|
||||
case "WECHAT_H5_PAY":
|
||||
// H5支付
|
||||
this.$yrouter.replace({
|
||||
path: "/pkg_product/views/sojoumOrderDetails",
|
||||
path: "/pages/order/MyOrder/index",
|
||||
query: {
|
||||
id: data.result.orderId
|
||||
type: 1
|
||||
}
|
||||
})
|
||||
break;
|
||||
@@ -362,9 +362,9 @@ export default {
|
||||
// 小程序支付
|
||||
weappPay(data.result.jsConfig).finally(() => {
|
||||
this.$yrouter.replace({
|
||||
path: "/pkg_product/views/sojoumOrderDetails",
|
||||
path: "/pages/order/MyOrder/index",
|
||||
query: {
|
||||
id: data.result.orderId
|
||||
type: 1
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -373,9 +373,9 @@ export default {
|
||||
// APP支付
|
||||
weappPay(data.result.jsConfig).finally(() => {
|
||||
this.$yrouter.replace({
|
||||
path: "/pkg_product/views/sojoumOrderDetails",
|
||||
path: "/pages/order/MyOrder/index",
|
||||
query: {
|
||||
id: data.result.orderId
|
||||
type: 1
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user