Browse Source

界面设计器+枚举

master
郑根木 2 years ago
parent
commit
071643d9aa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      smtweb-framework/sw-framework-core/src/main/java/cc/smtweb/framework/core/mvc/service/AbstractCompService.java

+ 2
- 2
smtweb-framework/sw-framework-core/src/main/java/cc/smtweb/framework/core/mvc/service/AbstractCompService.java View File

@@ -85,11 +85,11 @@ public abstract class AbstractCompService {


//树数据 //树数据
public R tree(@SwBody SwMap params, UserSession us) { public R tree(@SwBody SwMap params, UserSession us) {
return pageHandler(params, us, TYPE_COMBO, handler -> ((AbstractTreeHandler<Object>)handler).data());
return pageHandler(params, us, TYPE_TREE, handler -> ((AbstractTreeHandler<Object>)handler).data());
} }


//树过滤 //树过滤
public R treeFilter(@SwBody SwMap params, UserSession us) { public R treeFilter(@SwBody SwMap params, UserSession us) {
return pageHandler(params, us, TYPE_COMBO, handler -> ((AbstractTreeHandler<Object>)handler).filter());
return pageHandler(params, us, TYPE_TREE, handler -> ((AbstractTreeHandler<Object>)handler).filter());
} }
} }

Loading…
Cancel
Save