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}