Browse Source

Pull request #3659: 无JIRA任务 custom_tree支持hasNext

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

* commit '5de8af91fc7f570ee9949b9c04dde5d65a031623':
  无JIRA任务 custom_tree支持hasNext
research/test
guy-王川 1 year ago
parent
commit
f16693cd8e
  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