Browse Source

Pull request #3662: 无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '262308f619e75bc52eec07fb6be693cc4a6cbf7c':
  无JIRA任务 custom_tree支持hasNext
  无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失
  无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失
research/test
guy-王川 1 year ago
parent
commit
b96d1a600f
  1. 5
      packages/fineui/src/base/tree/customtree.js

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

@ -123,9 +123,8 @@ export class CustomTree extends Widget {
itemsCreator: (op, callback) => {
itemsCreator.apply(this, [
op,
items => {
const args = Array.prototype.slice.call(arguments, 0);
args[0] = this._formatItems(items);
(...args) => {
args[0] = this._formatItems(args[0]);
callback(...args);
}
]);

Loading…
Cancel
Save