Browse Source

Merge pull request #249112 in DEC/fineui from master to feature/x

* commit 'b96d1a600f77105d0e162dbbfac4694d439504e4':
  无JIRA任务 custom_tree支持hasNext
  无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失
  无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失
research/test
superman 1 year ago
parent
commit
4634bd82b1
  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: (op, callback) => {
itemsCreator.apply(this, [ itemsCreator.apply(this, [
op, op,
items => { (...args) => {
const args = Array.prototype.slice.call(arguments, 0); args[0] = this._formatItems(args[0]);
args[0] = this._formatItems(items);
callback(...args); callback(...args);
} }
]); ]);

Loading…
Cancel
Save