Branch_oumei
parent
cf22230e31
commit
6ee8f787a6
|
|
@ -483,10 +483,10 @@ function this:OnClickTabBtn(_index)
|
|||
count = count + 1
|
||||
if CheckListIsContainValue1(allUpIds, allEquip[i].id) or CheckListIsContainValue1(upSuitId, equipConfig[allEquip[i].id].SuiteID) then
|
||||
allEquip[i].isUp = 1
|
||||
--LogError("rrrrrrrrrrrrrrrr:"..tostring(allEquip[i].id).."/"..tostring(equipConfig[allEquip[i].id].SuiteID))
|
||||
LogError("rrrrrrrrrrrrrrrr:"..tostring(allEquip[i].id).."/"..tostring(equipConfig[allEquip[i].id].SuiteID))
|
||||
else
|
||||
allEquip[i].isUp = 2
|
||||
--LogError("bbbbbbbbbbbbbbbb:"..tostring(allEquip[i].id).."/"..tostring(equipConfig[allEquip[i].id].SuiteID))
|
||||
LogError("bbbbbbbbbbbbbbbb:"..tostring(allEquip[i].id).."/"..tostring(equipConfig[allEquip[i].id].SuiteID))
|
||||
end
|
||||
end
|
||||
table.sort(allEquip, function(a, b)
|
||||
|
|
@ -622,7 +622,7 @@ if not itemConfig[_itemData.id] then
|
|||
end)
|
||||
|
||||
-- 穿戴
|
||||
if _itemData.isUp == 1 then
|
||||
if _itemData.isUp == 2 then
|
||||
Util.GetGameObject(_go.transform, "btn_sure"):GetComponent("Image").sprite = Util.LoadSprite(GetPictureFont(
|
||||
"X1_genghuan_zhuangbei"))
|
||||
else
|
||||
|
|
@ -630,7 +630,7 @@ if not itemConfig[_itemData.id] then
|
|||
"X1_xinpian_xinpianyizhuangbei"))
|
||||
end
|
||||
Util.AddOnceClick(Util.GetGameObject(_go.transform, "btn_sure"), function()
|
||||
if _itemData.isUp == 1 then
|
||||
if _itemData.isUp == 2 then
|
||||
local idList = {}
|
||||
table.insert(idList, _itemData.id)
|
||||
local heroId = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue