ExportMap/cs/Tools.cs
@@ -26,6 +26,9 @@ private static string tempDir; /// <summary> /// 临时目录 /// </summary> public static string TempDir { get @@ -33,7 +36,10 @@ if (string.IsNullOrWhiteSpace(tempDir)) { tempDir = Path.Combine(BaseDir, "temp"); if (!Directory.Exists(tempDir)) Directory.CreateDirectory(tempDir); if (!Directory.Exists(tempDir)) { Directory.CreateDirectory(tempDir); } } return tempDir;