diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs index 91d1cb82c..316297788 100644 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Application/ExportAndImport/ClosedXmlExportImportService.cs @@ -61,7 +61,8 @@ public class ClosedXmlExportImportService : IExportImportService ignoreList.AddRange(defaultPropertyNames.Keys); } SetWorkSheet(ws, list, defaultPropertyNames, ignoreList, detailsProptyName); - SetWorkSheetStyle(ws); + //影响性能 + //SetWorkSheetStyle(ws); // var stream = new MemoryStream(); workbook.SaveAs(stream); diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs index 6d8f3e1f9..a1e0b142d 100644 --- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs +++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Host/ModuleBase.cs @@ -445,8 +445,8 @@ public abstract class ModuleBase : AbpModule where T : AbpModule { ServiceConfigurationContext.Services.Configure(options => { - options.ValueCountLimit = 5000; // 5000 items max - options.ValueLengthLimit = 1024 * 1024 * 100; // 100MB max len form data + options.ValueCountLimit = int.MaxValue; // 5000 items max + options.ValueLengthLimit = 1024 * 1024 * 1000; // 100MB max len form data }); }