Browse Source

Pull request #1581: REPORT-43210 补充下缺失方法

Merge in VISUAL/fineui from ~TELLER/fineui:master to master

* commit 'ed314cf09b2b55bed44539d90ff67fa8b720d807':
  REPORT-43210 fix: 补充下缺失方法
es6
Teller 4 years ago
parent
commit
f8e5d341e4
  1. 4
      src/case/tree/treeexpander/tree.expander.js
  2. 4
      src/case/tree/treeexpander/tree.expander.popup.js

4
src/case/tree/treeexpander/tree.expander.js

@ -67,6 +67,10 @@
populate: function (items) {
this.expander.populate(items);
},
getAllLeaves: function () {
return this.expander && this.expander.getAllLeaves();
}
});
BI.shortcut("bi.tree_expander", Widget);

4
src/case/tree/treeexpander/tree.expander.popup.js

@ -43,6 +43,10 @@
populate: function (items) {
this.popupview.populate(items);
},
getAllLeaves: function () {
return this.popupView && this.popupView.getAllLeaves();
}
});
BI.shortcut("bi.tree_expander.popup", Widget);

Loading…
Cancel
Save