Browse Source

REPORT-43210 fix: 补充下缺失方法

es6
iapyang 4 years ago
parent
commit
ed314cf09b
  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) { populate: function (items) {
this.expander.populate(items); this.expander.populate(items);
}, },
getAllLeaves: function () {
return this.expander && this.expander.getAllLeaves();
}
}); });
BI.shortcut("bi.tree_expander", Widget); BI.shortcut("bi.tree_expander", Widget);

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

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

Loading…
Cancel
Save