修复会读取Excel临时文件的问题

This commit is contained in:
2026-03-10 11:37:33 +08:00
parent 5c4e413949
commit 8250aa657d
+2
View File
@@ -55,6 +55,8 @@ namespace ExcelTool
//读取 //读取
foreach (var file in excels) foreach (var file in excels)
{ {
if (file.Name.StartsWith("~$")) return;
//生成CS文件 //生成CS文件
bool res = GenModels.GenCSharpModel(file.FullName, exportPath); bool res = GenModels.GenCSharpModel(file.FullName, exportPath);
if (res) if (res)