【公会红包】排行榜报错

dev_chengFeng
zhangqiang 2021-01-09 19:03:43 +08:00
parent be60660dcc
commit 13367546ac
1 changed files with 3 additions and 2 deletions

View File

@ -70,9 +70,10 @@ function this:InitRankView()
if #msg.ranks==0 then this.firstPlayerName.text=Language[11073] end
this.scrollView:SetData(msg.ranks,function(index, root)
if index==1 then
this:SetFirstShow(msg.ranks[index])
end
this:SetShow(root, msg.ranks[index],msg.myRankInfo.rank)
if index>1 then return end
this:SetFirstShow(msg.ranks[index])
end)
end)
end