From 3fb0f5bf4611ab6d43b0773cd4c6e1182801e555 Mon Sep 17 00:00:00 2001 From: mullins <476823686@qq.com> Date: Wed, 10 Jun 2020 12:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/confirmOrder/confirmOrder.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/confirmOrder/confirmOrder.vue b/src/pages/confirmOrder/confirmOrder.vue index f7522fa..fa608ca 100644 --- a/src/pages/confirmOrder/confirmOrder.vue +++ b/src/pages/confirmOrder/confirmOrder.vue @@ -379,7 +379,7 @@ export default { uni.showLoading({ title: '支付中', }) - if (this.isCart == 'true') { + if (this.isCart === 'true') { const checkedGoods = [] const sk_id_arr = [] this.checkedCartLst.map(item => { @@ -393,10 +393,10 @@ export default { sk_id_arr: sk_id_arr, totalPrice: this.totalPrice, }).then((res) => { - this.pay(res.data) + this.pay(res) }) } - if (this.isCart == 'false') { + if (this.isCart === 'false') { const { sk_id_arr: skId, mp_id: mpId } = this.$store.state.order.param store.dispatch('order/buyNow', { pid: skId.pid, @@ -408,7 +408,7 @@ export default { liuyan: this.note, dir: 1, }).then((res) => { - this.pay(res.data) + this.pay(res) }) } }, -- 2.0.0