fix:修复【C端】【订单】立减金订单支付成功页面点击去兑换,没有跳转到微信/支付宝兑换。

This commit is contained in:
Apple 2022-10-24 18:14:13 +08:00
parent e15f5f1ae4
commit 011d25b0bd
1 changed files with 4 additions and 1 deletions

View File

@ -72,7 +72,7 @@
); );
this.orderNumber = orderNumber; this.orderNumber = orderNumber;
this.getOrderDetail(orderNumber); this.getOrderDetail(orderNumber);
this.countdownFn();
}, },
methods: { methods: {
getQueryString(path, name) { getQueryString(path, name) {
@ -115,6 +115,9 @@
this.redirect_url = res.data.wechat_redirect_url; this.redirect_url = res.data.wechat_redirect_url;
this.payStatus=res.data.pay_status; this.payStatus=res.data.pay_status;
this.payResult=true; this.payResult=true;
if(res.data.type!=2){
this.countdownFn();
}
} }
} }
}).catch(); }).catch();