Browse Source

奖励品质框处理

zhangyuqian 1 year ago
parent
commit
881483e218
1 changed files with 6 additions and 0 deletions
  1. 6 0
      GameClient/Assets/Game/HotUpdate/Views/CommonGame/RewardView.cs

+ 6 - 0
GameClient/Assets/Game/HotUpdate/Views/CommonGame/RewardView.cs

@@ -167,7 +167,13 @@ namespace GFGGame
             item.m_txtCount.text = string.Format("{0}", _listItemDatas[index].num);
             item.m_loaIcon.url = ResPathUtil.GetIconPath(iconRes, ext);
             if (rarity > 0)
+            {
                 item.m_QualityType.selectedIndex = rarity - 1;
+            }
+            else
+            {
+                item.m_QualityType.selectedIndex = 0;
+            }
 
             RarityIconController.UpdateRarityIcon(item.m_loaRarity, id, false, isSuit);