Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
wangzhenxing 2021-07-29 16:20:02 +08:00
commit 8c1130e89f
1 changed files with 4 additions and 4 deletions

View File

@ -276,8 +276,8 @@ function this.RefreshRank(index)
this.SetRankDataShow(ranks,myRankInfo,curRankType)
this.scrollView:SetIndex(1)
--当我的排名没数据时
this.mRSortNum:SetActive(myRankInfo.rank~=-1)
if myRankInfo.rank==-1 then
this.mRSortNum:SetActive(myRankInfo.rank > 0)
if myRankInfo.rank < 1 then
this.mRName.text=Language[10036]
this.mRHurt.text=""
return
@ -332,8 +332,8 @@ function this.SetMyRank(data,curRankType)
end
--设置名次 isMy 是否是设置我的名次
function this.SetRankingNum(root,rank,isMy)
if rank==-1 then
-- body
if rank < 1 then
return
end
local sortNumTabs={}
for i = 1, 4 do