فهرست منبع

卡擦掉表名空格

hexiaojie 1 سال پیش
والد
کامیت
fd322571d8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      GameClient/Assets/Editor/Excel/ExcelReader.cs

+ 1 - 1
GameClient/Assets/Editor/Excel/ExcelReader.cs

@@ -23,7 +23,7 @@ namespace GFGEditor
             for (int i = 0; i < totalCount; i++)
             {
                 string filePath = files[i];
-                string fileName = Path.GetFileNameWithoutExtension(filePath);
+                string fileName = Path.GetFileNameWithoutExtension(filePath).Trim();
                 if (!fileName.Contains("~") && !fileName.StartsWith(".") && fileName != "")
                 {
                     EditorUtility.DisplayProgressBar("进度", $"fileNmae{fileName}", 1);