diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl index ea29bf0..404d351 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/save.ftl @@ -106,7 +106,7 @@ {{# for(var i = 0, item = files[i]; item = files[i++];) {}} 点击下载此文件 - 删除 + 删除 {{# } }} {{# } }} @@ -414,7 +414,7 @@ <#elseif field.fieldType == "selectDepartment"> // 初始化${field.fieldExplain}选择部门 function init${field.firstUpperFieldName}SelectDepartment() { - $(document.body).on('click', '#${field.fieldType}SelectDepartment', function() { + $(document.body).on('click', '#${field.fieldName}SelectDepartment', function() { var name = this.dataset.name; var selectedNodes = []; var selectDepartment = $('#'+ name).val().split(','); diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/update.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/update.ftl index 42d9754..c7b6882 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/update.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/route/update.ftl @@ -63,7 +63,7 @@ <#elseif field.fieldType == "select">
-
+