Browse Source

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

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

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

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

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

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

2
src/component/treevaluechooser/combo.treevaluechooser.js

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

2
src/component/treevaluechooser/pane.treevaluechooser.js

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

Loading…
Cancel
Save