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) }) } },