From 2290d5f9637e6293b20b5cd85d58a0efd5d69eb5 Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Thu, 5 Jan 2023 16:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E9=99=90=E5=88=B6=2050Mb=20=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E9=80=89=E6=AF=94=E6=9D=90=E6=96=99?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 8 ++++---- .../resources/templates/admin/business/process-edit.ftl | 2 +- .../resources/templates/admin/business/process-new.ftl | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index fdeb541..36754dd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -30,10 +30,10 @@ spring.freemarker.allow-request-override=true spring.freemarker.allow-session-override=true spring.freemarker.settings.template_exception_handler=ignore -multipart.maxFileSize=20Mb -multipart.maxRequestSize=20Mb -spring.http.multipart.maxFileSize=20Mb -spring.http.multipart.maxRequestSize=20Mb +multipart.maxFileSize=50Mb +multipart.maxRequestSize=50Mb +spring.http.multipart.maxFileSize=50Mb +spring.http.multipart.maxRequestSize=50Mb spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.data.rest.page-param-name=page diff --git a/src/main/resources/templates/admin/business/process-edit.ftl b/src/main/resources/templates/admin/business/process-edit.ftl index c48ed8e..f960a84 100644 --- a/src/main/resources/templates/admin/business/process-edit.ftl +++ b/src/main/resources/templates/admin/business/process-edit.ftl @@ -903,7 +903,7 @@ else if (value instanceof Array) { return value.length === 0 } - return value != null || value !== undefined + return value == null || value === undefined } const containsEmpty = detail => { diff --git a/src/main/resources/templates/admin/business/process-new.ftl b/src/main/resources/templates/admin/business/process-new.ftl index 765b34f..03b5e4d 100644 --- a/src/main/resources/templates/admin/business/process-new.ftl +++ b/src/main/resources/templates/admin/business/process-new.ftl @@ -1059,7 +1059,7 @@ else if (value instanceof Array) { return value.length === 0 } - return value != null || value !== undefined + return value == null || value === undefined } const containsEmpty = detail => {