fix:修复表格工具bug

pull/1/head
zxl 2024-11-01 15:14:07 +08:00
parent 49071b8ac6
commit 6fbee9adad
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class #CLASSNAME#Excel
private #CLASSNAME#s _datas;
public #CLASSNAME#s Datas => _datas;
public TestDataExcel()
public #CLASSNAME#Excel()
{
_filePath = $"{Application.streamingAssetsPath}/ExcelData/{_fileName}.json";
var text = File.ReadAllText(_filePath);

View File

@ -339,7 +339,7 @@ namespace ZEditor
var json = JsonConvert.SerializeObject(table);
string newStr = "{" + $"\"{fileName}List\":" + json + "}";
Debug.Log(newStr);
// Debug.Log(newStr);
string filePath = genDataPath + "/" + fileName + ".json";
if (!File.Exists(filePath))
{