diff --git a/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua b/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua index 74a261f0e8..07835101cc 100644 --- a/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Practice/PracticePanel.lua @@ -273,8 +273,7 @@ function Practice:SetSkillInfo() Util.GetGameObject(item, "Image"):SetActive(false) Util.GetGameObject(item, "Text"):SetActive(false) end - Util.AddClick(item,function() - LogError("i=="..i.." list[i]=="..list[i]) + Util.AddOnceClick(item,function() UIManager.OpenPanel(UIName.PracticeSkillInfoPanel,i,list[i]) end) index=index+1 diff --git a/Assets/ManagedResources/~Lua/Modules/Practice/PracticeSkillInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/Practice/PracticeSkillInfoPanel.lua index 4755621749..98b0ffbd78 100644 --- a/Assets/ManagedResources/~Lua/Modules/Practice/PracticeSkillInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Practice/PracticeSkillInfoPanel.lua @@ -84,10 +84,8 @@ function PracticeSkillInfoPanel:RefreshShow(id,lv) currLv=lv end local list=PracticeManager.GetSkillInfo() - LogError("level====="..lv) skillLv=lv skillId=id - LogError("skillid==="..skillId) local currData=ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.PlayerSkill,"SkillID",id,"Level",currLv) nextData=ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.PlayerSkill,"SkillID",id,"Level",currLv+1) self.currInfo.text="本级效果:"..currData.Desc