活动:弹出礼包修改
This commit is contained in:
@@ -471,7 +471,7 @@ class PopUpShopShow {
|
|||||||
|
|
||||||
for(let pkg of data.packages) {
|
for(let pkg of data.packages) {
|
||||||
for(let item of pkg.items) {
|
for(let item of pkg.items) {
|
||||||
if(item.isPushing) {
|
if(item.isPushing && item.hasBoughtCnt < item.buyCnt) {
|
||||||
let obj = new PopUpShopItemShow(item);
|
let obj = new PopUpShopItemShow(item);
|
||||||
this.items.push(obj);
|
this.items.push(obj);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user