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

2
src/component/allvaluechooser/combo.allvaluechooser.js

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

2
src/component/allvaluechooser/pane.allvaluechooser.js

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

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

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

2
src/component/valuechooser/combo.valuechooser.js

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

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

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

Loading…
Cancel
Save