diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationEditPopup.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationEditPopup.lua index 3d3e01493c..ecd6ce6fba 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationEditPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationEditPopup.lua @@ -143,7 +143,6 @@ function FormationEditPopup:BindEvent() break end end - LogRed(#choosedList) this.RefreshDesc() end) @@ -262,7 +261,7 @@ function this.SingleHeroDataShow(_go, _heroData) choosedList[i].position=v.position-1 end end - this.OnClickTabBtn(proId) + this.RefreshDesc() return end end @@ -277,8 +276,8 @@ function this.SingleHeroDataShow(_go, _heroData) choosed:SetActive(true) order=order+1 table.insert(choosedList, {did = heroData.dynamicId, choosed = choosed, position=order}) - this.OnClickTabBtn(proId) choosedList[heroData.dynamicId] = choosed + this.RefreshDesc() end) Util.AddLongPressClick(go, function()