Browse Source

在valuechooser进行populate的时候修改items

es6
Frank.Qiu 7 years ago
parent
commit
6ce3c8ac48
  1. 14
      dist/bundle.js
  2. 14
      dist/widget.js
  3. 4
      src/component/allvaluechooser/combo.allvaluechooser.js
  4. 4
      src/component/allvaluechooser/pane.allvaluechooser.js
  5. 4
      src/component/valuechooser/combo.valuechooser.js
  6. 4
      src/component/valuechooser/pane.valuechooser.js

14
dist/bundle.js vendored

@ -110148,7 +110148,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments); this.combo.populate.apply(this, arguments);
} }
}); });
@ -110209,7 +110211,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments); this.list.populate.apply(this.list, arguments);
} }
}); });
@ -111127,7 +111131,9 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
}; };
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments); this.combo.populate.apply(this, arguments);
} }
}); });
@ -111183,6 +111189,8 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
}, },
populate: function () { populate: function () {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments); this.list.populate.apply(this.list, arguments);
} }
}); });

14
dist/widget.js vendored

@ -22989,7 +22989,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments); this.combo.populate.apply(this, arguments);
} }
}); });
@ -23050,7 +23052,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments); this.list.populate.apply(this.list, arguments);
} }
}); });
@ -23968,7 +23972,9 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
}; };
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments); this.combo.populate.apply(this, arguments);
} }
}); });
@ -24024,6 +24030,8 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
}, },
populate: function () { populate: function () {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments); this.list.populate.apply(this.list, arguments);
} }
}); });

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

@ -58,7 +58,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments); this.combo.populate.apply(this, arguments);
} }
}); });

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

@ -54,7 +54,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || []; return val.value || [];
}, },
populate: function () { populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments); this.list.populate.apply(this.list, arguments);
} }
}); });

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

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

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

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

Loading…
Cancel
Save