From bb3da16062712d9999ee19777f053e6249f93990 Mon Sep 17 00:00:00 2001 From: wangkesi Date: Thu, 18 Oct 2018 10:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=BB=98=E6=AC=BE?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/order-detail.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) {