【恭喜获得】报错

dev_chengFeng
ZhangBiao 2021-04-27 16:46:39 +08:00
parent 6b26846677
commit 6f17dbd874
1 changed files with 8 additions and 4 deletions

View File

@ -273,12 +273,16 @@ function RewardItemPopup:OnSortingOrderChange()
if not itemDataList then if not itemDataList then
return return
end end
if #itemListPrefab > 0 then
for i = 1, #itemListPrefab do for i = 1, #itemListPrefab do
if itemListPrefab[i] then
local view = itemListPrefab[i] local view = itemListPrefab[i]
local curItemData=itemDataList[i] local curItemData=itemDataList[i]
view:OnOpen(true,curItemData,1.15,true,true,false,self.sortingOrder) view:OnOpen(true,curItemData,1.15,true,true,false,self.sortingOrder)
end end
end end
end
end
-- 根据物品列表数据显示物品 -- 根据物品列表数据显示物品
function RewardItemPopup:SetItemShow(drop) function RewardItemPopup:SetItemShow(drop)
BagManager.OnShowTipDropNumZero(drop) BagManager.OnShowTipDropNumZero(drop)