Browse Source

REPORT-37258 fix: 直接调用populate 清空了面板

master
windy 4 years ago
parent
commit
defce07c30
  1. 4
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  2. 4
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  3. 4
      src/component/treevaluechooser/combo.treevaluechooser.js
  4. 4
      src/component/treevaluechooser/pane.treevaluechooser.js

4
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -93,7 +93,9 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
}, },
populate: function (items) { populate: function (items) {
this._initData(items); if (BI.isNotNull(items)) {
this._initData(items);
}
this.combo.populate(); this.combo.populate();
} }
}); });

4
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -92,7 +92,9 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
}, },
populate: function (items) { populate: function (items) {
this._initData(items); if (BI.isNotNull(items)) {
this._initData(items);
}
this.combo.populate(); this.combo.populate();
} }
}); });

4
src/component/treevaluechooser/combo.treevaluechooser.js

@ -96,7 +96,9 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
}, },
populate: function (items) { populate: function (items) {
this._initData(items); if (BI.isNotNull(items)) {
this._initData(items);
}
this.combo.populate(); this.combo.populate();
} }
}); });

4
src/component/treevaluechooser/pane.treevaluechooser.js

@ -50,7 +50,9 @@ BI.TreeValueChooserPane = BI.inherit(BI.AbstractTreeValueChooser, {
}, },
populate: function (items) { populate: function (items) {
this._initData(items); if (BI.isNotNull(items)) {
this._initData(items);
}
this.pane.populate(); this.pane.populate();
} }
}); });

Loading…
Cancel
Save