Browse Source

词牌升星手机上报错增加打印

huangxiaoyue 1 năm trước cách đây
mục cha
commit
13de4f45ba
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      GameClient/Assets/Game/HotUpdate/Views/Card/CardUpView.cs

+ 4 - 0
GameClient/Assets/Game/HotUpdate/Views/Card/CardUpView.cs

@@ -88,6 +88,8 @@ namespace GFGGame
                 _ui.m_txtLast.text = string.Format("{0}星", _lastNum / 5);
                 _ui.m_txtNow.text = string.Format("{0}星", _curNum / 5);
                 _cardStarCfg = CardStarCfgArray.Instance.GetCfgBycardIdAndstarLvl(_cardId, _lastNum);
+                if (_cardStarCfg == null)
+                    ET.Log.Error("RenderListCardPropertyItemd _cardStarCfg 1 is null=" + _cardId + "==" + _lastNum);
                 _cardLvCfg = null;
                 _ui.m_listCardProperty.numItems = 1;
                 _ui.m_listLastCardProperty.numItems = 1;
@@ -95,6 +97,8 @@ namespace GFGGame
             else { 
                 _ui.m_c1.selectedIndex = 2;
                 _cardStarCfg = CardStarCfgArray.Instance.GetCfgBycardIdAndstarLvl(_cardId, _lastNum);
+                if (_cardStarCfg == null)
+                    ET.Log.Error("RenderListCardPropertyItemd _cardStarCfg 2 is null=" + _cardId + "==" + _lastNum);
                 _cardLvCfg = null;
                 _ui.m_listCardProperty.numItems = 1;
                 _ui.m_listLastCardProperty.numItems = 1;