From a065e01bf0375e2ada87d58560827ca31c5b2fc8 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Fri, 5 Aug 2022 09:14:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=A1=AE=E5=AE=9A=E8=AE=A2=E5=8D=95=20?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=B7=A5=E4=BC=9A=E5=8D=A1=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/confirmation.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index d7974ae..e3501cf 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -281,7 +281,9 @@ if (res.return_code == '000000') { app.globalData.userInfo = res.return_data; this.user = res.return_data; - this.getHuiLianTongCardBalance(); + if (this.user.hltCardNo) { + this.getHuiLianTongCardBalance(); + } this.getUserNormalDiscountList(); uni.setStorage({ key: "user", @@ -605,7 +607,8 @@ app.globalData.storeid = ''; app.globalData.storename = ''; uni.reLaunch({ - url: '../pay/success/success?id=' + that.couponId + url: '../pay/success/success?id=' + + that.couponId }); }, fail: function(err) {