From 27e0bedaa365470bf31fd665105f276907067ec1 Mon Sep 17 00:00:00 2001 From: xiaxl Date: Wed, 6 Jul 2022 13:28:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E9=A2=84=E7=BD=AE?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=9F=A5=E8=AF=A2=E9=9D=A2=E6=9D=BF=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bpm/src/main/resources/static/template/model_list.ftl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl b/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl index 1399c2f..c4fc2db 100644 --- a/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl +++ b/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl @@ -20,6 +20,7 @@ "shadow": "" }, "children": [ + <#if (group.cfilters?size>0)> { "shape": "panel", "id": "form_panel", @@ -35,7 +36,7 @@ }, "children": [ - <#if (group.cfilters?size>0)> + <#assign fields = group.cfilters> <#list fields as filter> { @@ -56,7 +57,7 @@ "events": {} }, - + { "id": "id${newId()}", @@ -123,6 +124,7 @@ }, "children": [] }, + { "id": "${newId()}", "type": "fx-form-panel",