diff --git a/paysuccess.html b/paysuccess.html index 35e27c2..0969a04 100644 --- a/paysuccess.html +++ b/paysuccess.html @@ -72,7 +72,7 @@ ); this.orderNumber = orderNumber; this.getOrderDetail(orderNumber); - this.countdownFn(); + }, methods: { getQueryString(path, name) { @@ -115,6 +115,9 @@ this.redirect_url = res.data.wechat_redirect_url; this.payStatus=res.data.pay_status; this.payResult=true; + if(res.data.type!=2){ + this.countdownFn(); + } } } }).catch();