商店页签红点

This commit is contained in:
chenxi 2023-06-09 15:45:43 +08:00
parent 1d163ad8eb
commit cd0f34f5ee

View File

@ -858,7 +858,7 @@ function ShopData:checkShopDiscountRedPoint()
return
end
local actIds = self:getActChapterStoreCanBuyActIds()
if actIds and #actIds >= 0 then
if actIds and #actIds > 0 then
self.shopDiscountRedPoint = true
return
end
@ -867,12 +867,12 @@ function ShopData:checkShopDiscountRedPoint()
return
end
actIds = self:getLevelUpGiftActIds()
if actIds and #actIds >= 0 then
if actIds and #actIds > 0 then
self.shopDiscountRedPoint = true
return
end
actIds = self:getValidGrowUpGifts()
if actIds and #actIds >= 0 then
if actIds and #actIds > 0 then
self.shopDiscountRedPoint = true
return
end