Browse Source

Merge pull request #364 in FUI/fineui from ~FRANK.QIU/fineui:master to master

* commit 'fb17be905d2903fa5b209c49cacfb5a9036f1d08':
  在valuechooser进行populate的时候修改items
master
guy 7 years ago
parent
commit
33917d1760
  1. 16
      dist/bundle.js
  2. 16
      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

16
dist/bundle.js vendored

@ -110162,7 +110162,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || [];
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
}
});
@ -110223,7 +110225,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || [];
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments);
}
});
@ -111141,7 +111145,9 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
};
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
}
});
@ -111196,7 +111202,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);
}
});

16
dist/widget.js vendored

@ -23003,7 +23003,9 @@ BI.AllValueChooserCombo = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || [];
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
}
});
@ -23064,7 +23066,9 @@ BI.AllValueChooserPane = BI.inherit(BI.AbstractAllValueChooser, {
return val.value || [];
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.list.populate.apply(this.list, arguments);
}
});
@ -23982,7 +23986,9 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
};
},
populate: function () {
populate: function (items) {
// 直接用combo的populate不会作用到AbstractValueChooser上
this.items = items;
this.combo.populate.apply(this, arguments);
}
});
@ -24037,7 +24043,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);
}
});

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

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

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);
}
});

Loading…
Cancel
Save