Browse Source

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

research/test
guy 1 year ago
parent
commit
214732c310
  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