From 7dc45b0cab26080920c56df61a3675bff9a42818 Mon Sep 17 00:00:00 2001 From: wangkesi Date: Thu, 18 Oct 2018 10:55:04 +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-check.vue | 3 +-- src/view/order-detail.vue | 10 ++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/view/order-check.vue b/src/view/order-check.vue index aab0d94..481a47b 100644 --- a/src/view/order-check.vue +++ b/src/view/order-check.vue @@ -211,8 +211,7 @@ export default { } this.$vux.toast.text(data.msg, "middle"); setTimeout(function() { - window.location.href = - "/v2/order-list"; + window.location.href = "/v2/order-list"; }, 2000); } }); diff --git a/src/view/order-detail.vue b/src/view/order-detail.vue index 3cc8a5d..9a17fe9 100644 --- a/src/view/order-detail.vue +++ b/src/view/order-detail.vue @@ -247,10 +247,12 @@ export default { } else { let paymentType = this.info.payPrice > 0 ? 7 : 10; orderApi - .payMoney({ - orderNo: this.info.orderNo, - paymentType: paymentType - }) + .payMoney( + qs.stringify({ + orderNo: this.info.orderNo, + paymentType: paymentType + }) + ) .then(data => { this.$vux.loading.hide(); if (data.code === 0) {