排行榜修改提交

onepiece_demo_arena
wangzhenxing 2024-02-06 19:02:38 +08:00
parent a578fb63ae
commit 30cb7595b9
1 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,11 @@ function RankingSingleListPanel:OnOpen(_sData,_TabDataIndex,_tabData)
TabDataIndex = _TabDataIndex
this.name.text = sData.name
this.PanelShowChange()
this.GetRankInfo(sData.rankType,1,_tabData.roomId)
local roomId=0
if _tabData then
roomId=_tabData.roomId
end
this.GetRankInfo(sData.rankType,1,roomId)
end
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)