From e256923113d4b0732d52a5e39c184cae1785d713 Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 28 Feb 2024 13:49:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8D=A1=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=BB=93=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packkey/exchange.html | 4 ++-- packkey/ysf-reduce.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packkey/exchange.html b/packkey/exchange.html index 180fb5b..76c388b 100644 --- a/packkey/exchange.html +++ b/packkey/exchange.html @@ -342,7 +342,7 @@ }; self.popboxshow = false; req.axiosPost('/key/usage', data).then(res => { - + debugger // 使用结算 6 // 卡密做特殊处理,复制才会触发 if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && self.goodInfo.product_type !== 2) { @@ -366,7 +366,7 @@ this.openDialog("兑换成功"); const clr = setTimeout(() => { - if (this.goodInfo.product_type === 2) { + if (self.goodInfo.product_type === 2) { window.location.href = '/orderDetails/cardOrder.html'; } else { window.location.href = '/orderDetails/chargerOrder.html'; diff --git a/packkey/ysf-reduce.html b/packkey/ysf-reduce.html index 24e4074..7525624 100644 --- a/packkey/ysf-reduce.html +++ b/packkey/ysf-reduce.html @@ -187,7 +187,7 @@ .then(({ code, data, message }) => { // 使用结算 6 // 卡密做特殊处理,复制才会触发 - if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && self.goodInfo.product_type !== 2) { + if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && self.ysf.product_type !== 2) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } @@ -196,7 +196,7 @@ if (code == 200) { // 使用成功结算 7 // 直充类 上游充值返回成功 - if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && self.goodInfo.product_type !== 2) { + if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && self.ysf.product_type !== 2) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } this.verificationYsf(data);