Commit 6ffb94e8 authored by 郭志伟's avatar 郭志伟

fix: 顾问h5支付完成后未触发轮询问题修复

parent db7d5c38
......@@ -57,7 +57,8 @@ export default {
}
},
mounted() {
this.getOrderInfo();
const fromPay = this.$route.query.from && this.$route.query.from === "wxh5";
this.getOrderInfo(fromPay);
},
methods: {
// 1-待支付,3-支付成功,4-问卷收集完成,方案配置中,5-方案配置完成, -1 -支付失败订单关闭,-2 -支付超过1小时订单关闭,-3 -订单关闭
......
......@@ -28,7 +28,7 @@ export default {
this.orderInfo = this.$route.query;
// 如果存在isXyqb,同时当前不是在信用钱包环境
if (this.orderInfo.isConsultant) {
this.$router.replace("/consultant");
this.$router.replace({ path: "/consultant", query: { from: "wxh5" } });
return;
} else if (
(this.orderInfo.isXyqb == 1 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment