jiangjy преди 2 месеца
родител
ревизия
b2c075c8eb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      FrameworkLocal/UIClient/CenterViews/DataLogs/ProcessHistory/ProcessExportAllViewModel.cs

+ 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
                 {