【主界面】成长礼包入口提交

dev_chengFeng
ZhangBiao 2021-06-02 14:56:09 +08:00
parent 0798248214
commit a6c7de8151
1 changed files with 3 additions and 3 deletions

View File

@ -732,14 +732,14 @@ function this.CheckSixStarGoShow()
if shopData.id == 20 then if shopData.id == 20 then
for _, v in ipairs(shopData.storeItem) do for _, v in ipairs(shopData.storeItem) do
local time = shopItemConfig[v.id].Limit - v.buyNum local time = shopItemConfig[v.id].Limit - v.buyNum
if time > 0 then if time == 0 then
this.btnSixStarGo:SetActive(true) this.btnSixStarGo:SetActive(false)
return return
end end
end end
end end
end end
this.btnSixStarGo:SetActive(false) this.btnSixStarGo:SetActive(true)
else else
this.btnSixStarGo:SetActive(false) this.btnSixStarGo:SetActive(false)
end end