Forráskód Böngészése

加入一些报错打印

hexiaojie 1 éve
szülő
commit
cbfc7ce536
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      GameClient/Assets/Editor/Excel/CodeBuilder.cs

+ 2 - 1
GameClient/Assets/Editor/Excel/CodeBuilder.cs

@@ -504,7 +504,8 @@ namespace GFGEditor
                     }
                     if (string.IsNullOrEmpty(_value))
                     {
-                        ET.Log.Error(configArrayName + "  第" + row + "行  " + _type + "   无数值!");
+                        ET.Log.Error(configArrayName + "  第" + row + "行  " + _type + "   无数值!name:" + name + ",id:" +
+                                     worksheet[row, 0].Text.ToString());
                         continue;
                     }
                     if (!_twoDimensionalDic.ContainsKey(_types[1]))