From 5de8af91fc7f570ee9949b9c04dde5d65a031623 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 19 Sep 2023 16:19:46 +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 | 4 ++-- packages/fineui/src/base/tree/customtree.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/fineui/src/base/combination/loader.js b/packages/fineui/src/base/combination/loader.js index 4706d4c2a..1d0711158 100644 --- a/packages/fineui/src/base/combination/loader.js +++ b/packages/fineui/src/base/combination/loader.js @@ -204,7 +204,7 @@ export class Loader extends Widget { { times: this.times, count: this.count, - } + }, this.options ]); } @@ -218,7 +218,7 @@ export class Loader extends Widget { { times: this.times, count: this.count, - } + }, this.options ]); } diff --git a/packages/fineui/src/base/tree/customtree.js b/packages/fineui/src/base/tree/customtree.js index 491fbc96b..df3a87671 100644 --- a/packages/fineui/src/base/tree/customtree.js +++ b/packages/fineui/src/base/tree/customtree.js @@ -105,6 +105,7 @@ export class CustomTree extends Widget { return itemsCreator.apply(this, args); }; isNull(item.popup.el) && (item.popup.el = deepClone(this.options.el)); + item.popup.el.node = item.el; items.push(item); } else { items.push(node);