From 8da82d826990412469788948a3e7e054ee06ddd9 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Tue, 8 Nov 2022 22:11:35 +0800 Subject: [PATCH] =?UTF-8?q?vue3=E7=89=88=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90popup=E5=AD=97=E6=AE=B5=E6=9C=AA=E8=BD=AC=E4=B8=BA?= =?UTF-8?q?=E9=A9=BC=E5=B3=B0=E5=AF=BC=E8=87=B4=EF=BC=8C=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=80=BC=E5=B8=A6=E4=B8=8D=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../code-template-online/common/form/native/vue3NativeForm.ftl | 2 +- .../common/form/native/vue3NativeSearch.ftl | 2 +- .../jeecg/code-template-online/common/form/vue3Jvxepopup.ftl | 2 +- .../jeecg/code-template-online/common/form/vue3popup.ftl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeForm.ftl b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeForm.ftl index 8d288219..c34b0077 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeForm.ftl +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeForm.ftl @@ -25,7 +25,7 @@ code="${po.dictTable}" :fieldConfig="[ <#list sourceFields as fieldName> - { source: '${fieldName}', target: '${targetFields[fieldName_index]}' }, + { source: '${fieldName}', target: '${dashedToCamel(targetFields[fieldName_index])}' }, ]" :multi="${po.extendParams.popupMulti?c}" diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl index a16bf89b..b4157894 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/native/vue3NativeSearch.ftl @@ -43,7 +43,7 @@ <#if query_field_no gt 1> code="${po.dictTable}" <#if query_field_no gt 1> :fieldConfig="[ <#list sourceFields as fieldName> - <#if query_field_no gt 1> { source: '${fieldName}', target: '${targetFields[fieldName_index]}' }, + <#if query_field_no gt 1> { source: '${fieldName}', target: '${dashedToCamel(targetFields[fieldName_index])}' }, <#if query_field_no gt 1> ]" <#if query_field_no gt 1> :multi="${po.extendParams.popupMulti?c}" diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3Jvxepopup.ftl b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3Jvxepopup.ftl index 3f671e12..6989dc7d 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3Jvxepopup.ftl +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3Jvxepopup.ftl @@ -4,7 +4,7 @@ popupCode:"${col.dictTable}", fieldConfig: [ <#list sourceFields as fieldName> - { source: '${fieldName}', target: '${targetFields[fieldName_index]}' }, + { source: '${fieldName}', target: '${dashedToCamel(targetFields[fieldName_index])}' }, ], <#if col.readonly=='Y'> diff --git a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3popup.ftl b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3popup.ftl index 21deec19..7bfcfcf8 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3popup.ftl +++ b/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/form/vue3popup.ftl @@ -8,7 +8,7 @@ code:"${po.dictTable}", fieldConfig: [ <#list sourceFields as fieldName> - { source: '${fieldName}', target: '${targetFields[fieldName_index]}' }, + { source: '${fieldName}', target: '${dashedToCamel(targetFields[fieldName_index])}' }, ], multi:${po.extendParams.popupMulti?c}