diff --git a/packkey/zfb-reduce.html b/packkey/zfb-reduce.html index acd7767..a57f220 100644 --- a/packkey/zfb-reduce.html +++ b/packkey/zfb-reduce.html @@ -185,14 +185,14 @@ .then(({ code, data, message }) => { // 使用结算 6 // 卡密做特殊处理,复制才会触发 - if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && this.goodInfo.product_type !== 2) { + if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6 && self.goodInfo.product_type !== 2) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } if (code == 200) { // 使用成功结算 7 // 直充类 上游充值返回成功 - if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && this.goodInfo.product_type !== 2) { + if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7 && self.goodInfo.product_type !== 2) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); }