Commit ab880833 authored by 郭志伟's avatar 郭志伟

fix: 众安支付测试

parent e0304e70
...@@ -28,6 +28,7 @@ export default { ...@@ -28,6 +28,7 @@ export default {
this.orderInfo = this.$route.query; this.orderInfo = this.$route.query;
// 如果存在isXyqb,同时当前不是在信用钱包环境 // 如果存在isXyqb,同时当前不是在信用钱包环境
console.log(this.orderInfo.third); console.log(this.orderInfo.third);
alert(this.orderInfo.third);
if ((this.orderInfo.isXyqb == 1 && !isXyqb) || this.orderInfo.third.indexOf("1") === 0) { if ((this.orderInfo.isXyqb == 1 && !isXyqb) || this.orderInfo.third.indexOf("1") === 0) {
window.location.href = "xyqb://my"; window.location.href = "xyqb://my";
setTimeout(() => { setTimeout(() => {
...@@ -38,9 +39,8 @@ export default { ...@@ -38,9 +39,8 @@ export default {
} }
}, 1000); }, 1000);
return; return;
} } else if (!this.orderInfo.payOrderNo) {
// 没有订单信息的情况 // 没有订单信息的情况
if (!this.orderInfo.payOrderNo) {
this.$notify({ type: "warning", message: "正在跳转..." }); this.$notify({ type: "warning", message: "正在跳转..." });
setTimeout(() => { setTimeout(() => {
window.location.href = "/policy"; window.location.href = "/policy";
......
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