Browse Source

select_level_tree的populate处理items

es6
Frank.Qiu 7 years ago
parent
commit
35be7fa841
  1. 2
      dist/bundle.js
  2. 2
      dist/widget.js
  3. 2
      src/widget/selecttree/selecttree.popup.js

2
dist/bundle.js vendored

@ -92336,7 +92336,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
populate: function (items) { populate: function (items) {
BI.SelectTreePopup.superclass.populate.apply(this, arguments); BI.SelectTreePopup.superclass.populate.apply(this, arguments);
this.tree.populate(items); this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items)));
} }
}); });

2
dist/widget.js vendored

@ -16282,7 +16282,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
populate: function (items) { populate: function (items) {
BI.SelectTreePopup.superclass.populate.apply(this, arguments); BI.SelectTreePopup.superclass.populate.apply(this, arguments);
this.tree.populate(items); this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items)));
} }
}); });

2
src/widget/selecttree/selecttree.popup.js

@ -89,7 +89,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, {
populate: function (items) { populate: function (items) {
BI.SelectTreePopup.superclass.populate.apply(this, arguments); BI.SelectTreePopup.superclass.populate.apply(this, arguments);
this.tree.populate(items); this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items)));
} }
}); });

Loading…
Cancel
Save