Merge branch 'china/dev' into china/dev-c

dev_chengFeng
gaoxin 2021-04-19 16:14:18 +08:00
commit d6cad28914
1 changed files with 4 additions and 1 deletions

View File

@ -234,6 +234,7 @@ end
--界面打开时调用(用于子类重写)
function RoleInfoPanel:OnOpen(_curHeroData, _heroDatas,_isUpZhen,_index)
curHeroData, heroDatas,isUpZhen = _curHeroData, _heroDatas,_isUpZhen
if _index and _index > 0 then
_CurPageIndex = _index
else
@ -506,7 +507,9 @@ end
function this:UpdateHeroInfoData()
this:UpdateBtnList()
for k,v in pairs(this.PageList) do
v:OnHide()
end
if _CurPageIndex == 5 then
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",curHeroData.id)
local HeoSkin = {}