diff --git a/src/view/order-detail.vue b/src/view/order-detail.vue index ba1f7f6..9e48e8a 100644 --- a/src/view/order-detail.vue +++ b/src/view/order-detail.vue @@ -237,7 +237,7 @@ export default { this.$vux.loading.show({ text: "正在调起支付" }); - if (isWeixin() && this.info.payPrice > 0) { + if (this.isWeixin() && this.info.payPrice > 0) { //微信内打开,直接调起微信公众号支付 this.$vux.loading.hide(); location.href = this.authUrl.replace( @@ -267,8 +267,7 @@ export default { } } else { setTimeout(function() { - window.location.href = - "/v2/order-list"; + window.location.href = "/v2/order-list"; }, 2000); } } else if (data.code === 666) {