Browse Source

fix: fixed MiniExcel Export settings

pull/1476/head
colin 1 month ago
parent
commit
ee1d30633a
  1. 2
      aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs
  2. 2
      aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs

2
aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs

@ -27,7 +27,7 @@ public class MiniExcelImporterProvider : IImporterProvider, ITransientDependency
{
var xmlConfig = new OpenXmlConfiguration();
if (_options.ExportSettingMapping.TryGetValue(typeof(T), out var exportSetting))
if (_options.ImportSettingMapping.TryGetValue(typeof(T), out var exportSetting))
{
exportSetting?.Invoke(xmlConfig);
}

2
aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs

@ -31,7 +31,7 @@ public class MiniExcelImporterProvider :
{
var xmlConfig = new OpenXmlConfiguration();
if (_options.ExportSettingMapping.TryGetValue(typeof(T), out var exportSetting))
if (_options.ImportSettingMapping.TryGetValue(typeof(T), out var exportSetting))
{
exportSetting?.Invoke(xmlConfig);
}

Loading…
Cancel
Save