fix: 修改 红包领取成功 修改状态
This commit is contained in:
parent
27df7f0ce1
commit
9e77351dfb
|
@ -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, '关闭');
|
||||
}
|
||||
|
|
|
@ -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, '关闭');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue