From 65446cadc3bac969b8116c557ea1d07a5e0e9030 Mon Sep 17 00:00:00 2001 From: wayn <1669738430@qq.com> Date: Mon, 14 Dec 2020 22:12:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order/pay/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/order/pay/index.vue b/src/views/order/pay/index.vue index 8adfc56..e5e760d 100644 --- a/src/views/order/pay/index.vue +++ b/src/views/order/pay/index.vue @@ -73,7 +73,7 @@ export default { if (isWeixin) { orderPrepay({ orderId: this.orderId }) .then((res) => { - const data = res.data.data + const data = res.map.result const prepayData = JSON.stringify({ appId: data.appId, timeStamp: data.timeStamp, @@ -171,6 +171,7 @@ export default { 'getBrandWCPayRequest', JSON.parse(data.prepay_data), function(res) { + console.log(res) if (res.err_msg === 'get_brand_wcpay_request:ok') { that.$router.replace({ name: 'paymentStatus',