From 2cd634a8de829dfb2370297673bfdb7b20a925b9 Mon Sep 17 00:00:00 2001 From: Ricky Date: Mon, 29 Nov 2021 09:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E4=B8=BB?= =?UTF-8?q?=E5=AD=90=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/vm/html/add.html.vm | 10 ++++++---- .../src/main/resources/vm/html/edit.html.vm | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/html/add.html.vm b/ruoyi-generator/src/main/resources/vm/html/add.html.vm index d9df39bc..1529b89d 100644 --- a/ruoyi-generator/src/main/resources/vm/html/add.html.vm +++ b/ruoyi-generator/src/main/resources/vm/html/add.html.vm @@ -334,8 +334,9 @@ var name = $.common.sprintf("${subclassName}List[%s].${javaField}", index); return $.common.dictToSelect(${javaField}Datas, value, name); } - #if($foreach.count != $subTable.columns.size())},#end - +#if($foreach.count != $subTable.columns.size()) + }, +#end #else { field: '${javaField}', @@ -345,8 +346,9 @@ var html = $.common.sprintf("", index, value); return html; } - #if($foreach.count != $subTable.columns.size())},#end - +#if($foreach.count != $subTable.columns.size()) + }, +#end #end #end }] diff --git a/ruoyi-generator/src/main/resources/vm/html/edit.html.vm b/ruoyi-generator/src/main/resources/vm/html/edit.html.vm index 53b2d9ec..8b405b05 100644 --- a/ruoyi-generator/src/main/resources/vm/html/edit.html.vm +++ b/ruoyi-generator/src/main/resources/vm/html/edit.html.vm @@ -345,8 +345,9 @@ var name = $.common.sprintf("${subclassName}List[%s].${javaField}", index); return $.common.dictToSelect(${javaField}Datas, value, name); } - #if($foreach.count != $subTable.columns.size())},#end - +#if($foreach.count != $subTable.columns.size()) + }, +#end #else { field: '${javaField}', @@ -356,8 +357,9 @@ var html = $.common.sprintf("", index, value); return html; } - #if($foreach.count != $subTable.columns.size())},#end - +#if($foreach.count != $subTable.columns.size()) + }, +#end #end #end }]