From c6b6295b26a3a51ab0387196522b50ccf5d7c4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=B6=E6=BB=B4=E7=A5=9E=E5=95=8A?= <123532714@qq.com> Date: Wed, 29 Sep 2021 03:41:26 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-generator/src/main/resources/tem?= =?UTF-8?q?plates/tool/gen/edit.html.=20=E6=88=91=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E7=A2=B0=E5=88=B0=E4=BA=86=20=20undefined=20=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=20var=20html=20=3D=20$.common.sprintf("",=20index,=20va?= =?UTF-8?q?lue,=20row.columnId);=20=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/templates/tool/gen/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-generator/src/main/resources/templates/tool/gen/edit.html b/ruoyi-generator/src/main/resources/templates/tool/gen/edit.html index bce77e520..b087f9505 100644 --- a/ruoyi-generator/src/main/resources/templates/tool/gen/edit.html +++ b/ruoyi-generator/src/main/resources/templates/tool/gen/edit.html @@ -431,7 +431,7 @@ title: '字典类型', width: "13%", formatter: function (value, row, index) { - var html = $.common.sprintf("", index, value, row.columnId); + var html = $.common.sprintf("", index, (value === undefined ? '' : value), row.columnId); return "
" + html + "
"; }, cellStyle: function(value, row, index) {