Browse Source

无JIRA任务 custom_tree支持hasNext

research/test
guy 1 year ago
parent
commit
5de8af91fc
  1. 4
      packages/fineui/src/base/combination/loader.js
  2. 1
      packages/fineui/src/base/tree/customtree.js

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

@ -204,7 +204,7 @@ export class Loader extends Widget {
{ {
times: this.times, times: this.times,
count: this.count, count: this.count,
} }, this.options
]); ]);
} }
@ -218,7 +218,7 @@ export class Loader extends Widget {
{ {
times: this.times, times: this.times,
count: this.count, count: this.count,
} }, this.options
]); ]);
} }

1
packages/fineui/src/base/tree/customtree.js

@ -105,6 +105,7 @@ export class CustomTree extends Widget {
return itemsCreator.apply(this, args); return itemsCreator.apply(this, args);
}; };
isNull(item.popup.el) && (item.popup.el = deepClone(this.options.el)); isNull(item.popup.el) && (item.popup.el = deepClone(this.options.el));
item.popup.el.node = item.el;
items.push(item); items.push(item);
} else { } else {
items.push(node); items.push(node);

Loading…
Cancel
Save