Browse Source

无JIRA任务 custom_tree支持hasNext

research/test
guy 1 year ago
parent
commit
262308f619
  1. 5
      packages/fineui/src/base/combination/loader.js

5
packages/fineui/src/base/combination/loader.js

@ -248,7 +248,7 @@ export class Loader extends Widget {
this.button_group.addItems(...arguments); this.button_group.addItems(...arguments);
} }
_populate(items, _key, options={}) { _populate(items) {
const o = this.options; const o = this.options;
if (arguments.length === 0 && isFunction(o.itemsCreator)) { if (arguments.length === 0 && isFunction(o.itemsCreator)) {
o.itemsCreator.apply(this, [ o.itemsCreator.apply(this, [
@ -265,9 +265,6 @@ export class Loader extends Widget {
return false; return false;
} }
this.options.items = items; this.options.items = items;
if (options.reserveAttributes) {
return true;
}
this.times = 1; this.times = 1;
this.count = 0; this.count = 0;
this.count += items.length; this.count += items.length;

Loading…
Cancel
Save