From b97099405a187116ed29bf3c7e8a99db4348bbfc Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Sun, 3 May 2020 20:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=A8=A1=E6=9D=BF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/codetemplate/default/route/update.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fac174b..15e8959 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 @@ -897,7 +897,7 @@ top.restAjax.get(top.restAjax.path('api/${lowerTableName}/get${lowerTableName}byid/{${firstLowerTableName}Id}', [${firstLowerTableName}Id]), {}, null, function(code, data) { var dataFormData = {}; for(var i in data) { - dataFormData[i] = data[i]; + dataFormData[i] = data[i] +''; } form.val('dataForm', dataFormData); form.render(null, 'dataForm');