From e505bf2706028981cd10479144aa29d16578678a Mon Sep 17 00:00:00 2001 From: zhangds Date: Thu, 7 Mar 2024 22:07:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packkey/combining.html | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/packkey/combining.html b/packkey/combining.html index 36324f5..97af3d9 100644 --- a/packkey/combining.html +++ b/packkey/combining.html @@ -181,14 +181,18 @@ settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } - if (this.goods.group_info.channel == 1 && this.goods.group_info.receive_mode == 1) { - /* 支付宝官方领取 */ - this.toLinkAlipay(); - } else if (this.goods.group_info.channel == 2) { - /* 微信官方领取 */ - window.location.replace(res.data.redirect_url); - } - this.getProductDetail(); + setTimeout(() => { + if (this.goods.group_info.channel == 1 && this.goods.group_info.receive_mode == 1) { + /* 支付宝官方领取 */ + this.toLinkAlipay(); + } else if (this.goods.group_info.channel == 2) { + /* 微信官方领取 */ + window.location.replace(res.data.redirect_url); + } + this.getProductDetail(); + }, 300) + + } else { this.axiosErrorFun(res.code, res.message); } @@ -257,10 +261,13 @@ if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } + setTimeout(() => { + this.loading = false; + this.message = '领取成功'; + this.getProductDetail(); + + }, 300) - this.loading = false; - this.message = '领取成功'; - this.getProductDetail(); } else { this.axiosErrorFun(code, message); }