From 9e77351dfbc1c2ccc118dd3307b9ec09823b0539 Mon Sep 17 00:00:00 2001 From: zhangds Date: Tue, 14 May 2024 17:56:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20=E7=BA=A2=E5=8C=85?= =?UTF-8?q?=E9=A2=86=E5=8F=96=E6=88=90=E5=8A=9F=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packkey/redPackets.html | 5 +++-- redPackets.html | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packkey/redPackets.html b/packkey/redPackets.html index e1b777f..ab60aab 100644 --- a/packkey/redPackets.html +++ b/packkey/redPackets.html @@ -206,9 +206,10 @@ if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type); } + + this.goodsInfo.available = 9; this.tip("领取成功", 2, '关闭'); - this.goodInfo.available = 9; - localStorage.setItem('goodInfo', JSON.stringify(this.goodInfo)); + localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo)); } else { this.tip(res.message, 2, '关闭'); } diff --git a/redPackets.html b/redPackets.html index aa1173c..b83e1f5 100644 --- a/redPackets.html +++ b/redPackets.html @@ -194,9 +194,9 @@ .then((res) => { this.loading = false; if (res.code == 200) { + this.goodsInfo.available = 9; this.tip("领取成功", 2, '关闭'); - this.goodInfo.available = 9; - localStorage.setItem('goodInfo', JSON.stringify(this.goodInfo)); + localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo)); } else { this.tip(res.message, 2, '关闭'); }