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 4701278..c95d0ed 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 @@ -880,7 +880,7 @@ // 初始化选择 var formSelectData = {}; - formSelectData['${field.joinTable}'] = joinValue; + formSelectData['${field.joinTable}Id'] = joinValue; form.val('dataForm', formSelectData); }, function(code, data) { top.dialog.msg(data.msg);