diff --git a/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroAndEquipListPanel.lua b/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroAndEquipListPanel.lua index 37ef8b0488..ee3032401c 100644 --- a/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroAndEquipListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroAndEquipListPanel.lua @@ -144,7 +144,7 @@ function HandBookHeroAndEquipListPanel:OnOpen(_type) end --界面打开或者重新打开后,界面刷新时调用(用于子类重写) function HandBookHeroAndEquipListPanel:OnShow() - proId = 0 + proId = PlayerManager.headBookListTag if OpenType == 1 then self.heroScroll:SetActive(true) self.heroScrollbar:SetActive(false) @@ -707,6 +707,7 @@ end --设置选中按钮 function HandBookHeroAndEquipListPanel:SetSelectBtn() + PlayerManager.headBookListTag = proId -- self.selectBtn:SetActive(proId ~= ProIdConst.All) if proId ~= ProIdConst.All then self.selectBtn.transform.localPosition = tabs[proId].transform.localPosition