浏览代码

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

huangxiaoyue 1 年之前
父节点
当前提交
13de4f45ba
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;