Pārlūkot izejas kodu

模块树展示

master
郑根木 pirms 2 gadiem
vecāks
revīzija
4b5c18f8b5
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

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


+ 1
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/service/SwListData.java Parādīt failu

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

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

public boolean isEmpty() {


Notiek ielāde…
Atcelt
Saglabāt