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

dev_chengFeng
zhangshanxue 2021-11-24 11:07:31 +08:00
commit 390f5103ca
1 changed files with 6 additions and 7 deletions

View File

@ -223,6 +223,12 @@ function this.RefreshMyInfo()
sortNumTabs[i] = Util.GetGameObject(this.myInfo, "sortNum/sortNum ("..i..")")
sortNumTabs[i]:SetActive(false)
end
if not itemList2 then
itemList2 = {}
end
for i = 1, #itemList2 do
itemList2[i].gameObject:SetActive(false)
end
if myrank and myrank > 0 then
if myrank < 4 then
sortNumTabs[myrank]:SetActive(true)
@ -231,13 +237,6 @@ function this.RefreshMyInfo()
Util.GetGameObject(sortNumTabs[4], "rankNumberText"):GetComponent("Text").text = myrank
end
if not itemList2 then
itemList2 = {}
end
for i = 1, #itemList2 do
itemList2[i].gameObject:SetActive(false)
end
--获取奖励
if curRankType == 3 then--竞技场
for k,value in ConfigPairs(ConfigList[curRankType]) do