代码生成支持富文本控件

This commit is contained in:
RuoYi
2020-09-15 17:21:40 +08:00
parent 35f8665dac
commit 9277d7173d
6 changed files with 45 additions and 2 deletions

View File

@@ -111,6 +111,11 @@ public class GenUtils
{
column.setHtmlType(GenConstants.HTML_SELECT);
}
// 内容字段设置富文本控件
else if (StringUtils.endsWithIgnoreCase(columnName, "content"))
{
column.setHtmlType(GenConstants.HTML_EDITOR);
}
}
/**