diff --git a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua index bbb82f49f9..71f1ec1f5e 100644 --- a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua @@ -214,16 +214,16 @@ function RewardBoxPanel:SetSingleGiftData(index,item,dataList) select:GetComponent("Button").interactable = BagManager.isBagPanel select:SetActive(BagManager.isBagPanel) yihuode:SetActive(false) - if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then - local num = BagManager.GetItemCountById(dataList[index][1]) - if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then - select:SetActive(false) - yihuode:SetActive(true) - else - select:SetActive(true) - yihuode:SetActive(false) - end - end + -- if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then + -- local num = BagManager.GetItemCountById(dataList[index][1]) + -- if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then + -- select:SetActive(false) + -- yihuode:SetActive(true) + -- else + -- select:SetActive(true) + -- yihuode:SetActive(false) + -- end + -- end if heroConfig.ItemType == ItemType.Talisman then if heroConfig.ItemDescribe then local aaa=string.split(heroConfig.ItemDescribe,',')