RuoYi
2026-03-12 b0ff5a01a132d7badf935f60b6aa14fa00dce5b0
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/domain/GenTable.java
@@ -41,7 +41,7 @@
    /** 使用的模板(crud单表操作 tree树表操作 sub主子表操作) */
    private String tplCategory;
    /** 前端类型(element-ui模版 element-plus模版) */
    /** 前端类型(element-ui模版 element-plus模版 element-plus-typescript模版) */
    private String tplWebType;
    /** 生成包路径 */
@@ -267,6 +267,7 @@
    {
        this.subTable = subTable;
    }
    public List<GenTableColumn> getColumns()
    {
        return columns;
@@ -346,6 +347,7 @@
    {
        return tplCategory != null && StringUtils.equals(GenConstants.TPL_SUB, tplCategory);
    }
    public boolean isTree()
    {
        return isTree(this.tplCategory);