Browse Source

模块树展示

master
郑根木 2 years ago
parent
commit
4b5c18f8b5
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/db/ModelCatalogTreeHandler.java
  2. +1
    -1
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/service/SwListData.java

+ 1
- 0
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/db/ModelCatalogTreeHandler.java View File

@@ -225,6 +225,7 @@ public class ModelCatalogTreeHandler extends AbstractTreeHandler<DefaultEntity>
if (lf != null && !lf.isEmpty()) { if (lf != null && !lf.isEmpty()) {
List<SwMap> list = buildNodes(lf, true); List<SwMap> list = buildNodes(lf, true);
node.put("children", list); node.put("children", list);
node.put("leaf", false);
} }
} }
} }


+ 1
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/service/SwListData.java View File

@@ -35,7 +35,7 @@ public class SwListData {
return SwListData.EMPTY; return SwListData.EMPTY;
} }


return new SwListData(list, -1);
return new SwListData(list, 0);
} }


public boolean isEmpty() { public boolean isEmpty() {


Loading…
Cancel
Save