限购次数修改提交

(cherry picked from commit f7235b087b)
dev_chengFeng
jiaoyangna 2021-05-25 11:22:30 +08:00
parent 4cc4bc87aa
commit 80691b1a9e
1 changed files with 1 additions and 0 deletions

View File

@ -459,6 +459,7 @@ function ShopViewNew:ShopItemAdapter(shopItem, itemData)
-- 限购
limitBg:SetActive(maxLimitCount ~= -1)
limitTimes.text = maxLimitCount
limitTimes.gameObject:SetActive(maxLimitCount ~= -1)
-- 售空 限购次数为-1 表示不限购
local isEmpty = maxLimitCount ~= -1 and curBuyCount >= maxLimitCount
if curBuyCount >= maxLimitCount then