diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs index 5f982816..2f33d4fd 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs @@ -55,9 +55,10 @@ public class Program webBuilder.ConfigureKestrel((context, options) => { //设置应用服务器Kestrel请求体最大为50MB - options.Limits.MaxRequestBodySize = 5242880000; - options.Limits.MaxRequestBufferSize = 302768; - options.Limits.MaxRequestLineSize = 302768; + options.Limits.MaxRequestBodySize = long.MaxValue; + options.Limits.MaxRequestBufferSize = long.MaxValue; + options.Limits.MaxRequestLineSize = int.MaxValue; + options.Limits.KeepAliveTimeout= TimeSpan.MaxValue; }); webBuilder.UseStartup(); }) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs index d717a9c7..342581b7 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs @@ -21,6 +21,7 @@ public class Startup { public void ConfigureServices(IServiceCollection services) { + services.AddRequestTimeouts(); services.Configure(options => options.Level = CompressionLevel.Fastest); services.AddResponseCompression(options => { diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js index 4846b2a1..b9f5c709 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js @@ -4,20 +4,42 @@ import { reactive, ref } from "vue"; export default { template: html`
-
-
- +
-
-
- +
`, styles: html`