windy 4 years ago
parent
commit
ab999a7ec5
  1. 4
      src/component/allvaluechooser/combo.allvaluechooser.js
  2. 4
      src/component/allvaluechooser/pane.allvaluechooser.js
  3. 4
      src/component/valuechooser/combo.valuechooser.insert.js
  4. 4
      src/component/valuechooser/combo.valuechooser.js
  5. 4
      src/component/valuechooser/pane.valuechooser.js

4
src/component/allvaluechooser/combo.allvaluechooser.js

@ -61,7 +61,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
if (BI.isNotNull(items)) {
this.items = items;
}
this.combo.populate();
}
});

4
src/component/allvaluechooser/pane.allvaluechooser.js

@ -58,7 +58,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
if (BI.isNotNull(items)) {
this.items = items;
}
this.list.populate();
}
});

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

@ -88,7 +88,9 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
if (BI.isNotNull(items)) {
this.items = items;
}
this.combo.populate();
}
});

4
src/component/valuechooser/combo.valuechooser.js

@ -92,7 +92,9 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
if (BI.isNotNull(items)) {
this.items = items;
}
this.combo.populate();
}
});

4
src/component/valuechooser/pane.valuechooser.js

@ -60,7 +60,9 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
items && (this.items = items);
if (BI.isNotNull(items)) {
this.items = items;
}
this.list.populate();
}
});

Loading…
Cancel
Save