Parcourir la source

Merge branch 'main' into cn_merage
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

ybx_Gdn il y a 1 an
Parent
commit
0ad5e60fc1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Assets/Lua/UI/UIVoyage/UIVoyageRankView.lua

+ 1 - 0
Assets/Lua/UI/UIVoyage/UIVoyageRankView.lua

@@ -195,6 +195,7 @@ function UIVoyageRankView:RefreshVoyageRankItem(itemLua, name, vipLv, headData,
 		local rewardList = ManagerContainer.DataMgr.HardMissionDataMgr:GetReward(reward)
 		local rewardList = ManagerContainer.DataMgr.HardMissionDataMgr:GetReward(reward)
 		--LogError("rewardList = "..Inspect(rewardList))
 		--LogError("rewardList = "..Inspect(rewardList))
 		--LogError("reward = "..Inspect(reward))
 		--LogError("reward = "..Inspect(reward))
+        itemLua.rewordNode.loopHorizontalScrollRect:ClearCells()
         CommonUtil.LoopGridViewEleCreateNew(self, 
         CommonUtil.LoopGridViewEleCreateNew(self, 
 			itemLua.rewordNode.loopHorizontalScrollRect,
 			itemLua.rewordNode.loopHorizontalScrollRect,
             itemLua.content.horizontalLayoutGroup,
             itemLua.content.horizontalLayoutGroup,