From 262308f619e75bc52eec07fb6be693cc4a6cbf7c Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 11 Oct 2023 10:08:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20custom=5Ftree?= =?UTF-8?q?=E6=94=AF=E6=8C=81hasNext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/combination/loader.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/fineui/src/base/combination/loader.js b/packages/fineui/src/base/combination/loader.js index b362a5922..1d0711158 100644 --- a/packages/fineui/src/base/combination/loader.js +++ b/packages/fineui/src/base/combination/loader.js @@ -248,7 +248,7 @@ export class Loader extends Widget { this.button_group.addItems(...arguments); } - _populate(items, _key, options={}) { + _populate(items) { const o = this.options; if (arguments.length === 0 && isFunction(o.itemsCreator)) { o.itemsCreator.apply(this, [ @@ -265,9 +265,6 @@ export class Loader extends Widget { return false; } this.options.items = items; - if (options.reserveAttributes) { - return true; - } this.times = 1; this.count = 0; this.count += items.length;