瀏覽代碼

同步TIN bug

jiangjy 3 天之前
父節點
當前提交
b2c075c8eb

+ 1 - 1
FrameworkLocal/UIClient/CenterViews/DataLogs/ProcessHistory/ProcessExportAllViewModel.cs

@@ -487,7 +487,7 @@ namespace MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory
                 Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
                 dlg.DefaultExt = ".csv"; // Default file extension 
                 dlg.Filter = "Excel数据表格文件(*.csv)|*.csv"; // Filter files by extension 
-                dlg.FileName = $"{DisplayName}_{string.Join(",", RecipeDatas.Select(x => x.RecipeName).ToArray())}_{DateTime.Now:yyyyMMdd_HHmmss}";
+                dlg.FileName = $"{DisplayName}_{string.Join(",", RecipeDatas.Select(x => x.RecipeName.Replace('\\', '.')))}_{DateTime.Now:yyyyMMdd_HHmmss}";
                 Nullable<bool> result = dlg.ShowDialog();// Show open file dialog box
                 if (result == true) // Process open file dialog box results
                 {