角色定位信息报错修改
parent
3a77e7088e
commit
c36e9928f0
|
|
@ -72,8 +72,8 @@ function this.RefreshPanel()
|
|||
end
|
||||
local _curData={}
|
||||
for k,v in pairs(curHeroData.RecommendTeamId) do
|
||||
local _data=ConfigManager.GetConfigData(ConfigName.RecommendTeam,v)
|
||||
if _data.IsShowInTeam==1 then
|
||||
local _data=ConfigManager.TryGetConfigData(ConfigName.RecommendTeam,v)
|
||||
if _data and _data.IsShowInTeam==1 then
|
||||
table.insert(_curData,_data)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue