Commit 65ebd718 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/fix_activity' into 'master'

fix: 缴费成功后刷新

See merge request !136
parents cf68cc0c d57f578f
......@@ -103,6 +103,12 @@ export default {
if (this.timer) window.clearInterval(this.timer);
// payOrderNo为月计划订单时跳转保单列表
if (+payType === 2) {
if (!payRes?.result) {
setTimeout(() => {
this.getPayResult(true);
}, 3000);
return;
}
this.$router.replace(`/policy`);
return;
}
......
......@@ -26,8 +26,13 @@ export default {
this.isPayWait = true;
this.orderInfo = this.$route.query;
// 如果存在isXyqb,同时当前不是在信用钱包环境,或众安第三方支付
if (this.orderInfo.isXyqb == 1 && (!isXyqb || this.orderInfo.third)) {
if (this.orderInfo.isfXyqb == 1 && (!isXyqb || this.orderInfo.third)) {
window.location.href = "xyqb://my";
if (localStorage.get("mongoToken")) {
this.$router.replace("/policy");
} else {
this.$router.replace("/home");
}
return;
}
// 没有订单信息的情况
......
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