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 "