From defe13242d3d4287d422748b0dab5a802a7c3941 Mon Sep 17 00:00:00 2001 From: Sylar <> Date: Wed, 26 Jul 2023 17:03:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?REPORT-101548=20fix:=20=E5=A4=8D=E9=80=89?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A0=91this=E6=8C=87=E5=90=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../treevaluechooser/abstract.treevaluechooser.list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js b/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js index 9c84e13ba..d3afdae79 100644 --- a/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js +++ b/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js @@ -31,7 +31,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser { return; } - doCheck([], this.tree.getRoot(), selectedValues); + doCheck.call(this, [], this.tree.getRoot(), selectedValues); callback({ items: values(result), From 17a9e7ca7a0647fed1c988d4c65a5ba0854e3bbd Mon Sep 17 00:00:00 2001 From: Sylar <> Date: Mon, 11 Mar 2024 11:17:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?REPORT-114436=20fix:=20tab=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEsingle=E6=97=B6=E5=86=85=E5=AD=98=E6=B3=84=E9=9C=B2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../treevaluechooser/abstract.treevaluechooser.list.js | 2 +- packages/fineui/src/core/wrapper/layout/layout.card.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js b/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js index d3afdae79..9c84e13ba 100644 --- a/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js +++ b/packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js @@ -31,7 +31,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser { return; } - doCheck.call(this, [], this.tree.getRoot(), selectedValues); + doCheck([], this.tree.getRoot(), selectedValues); callback({ items: values(result), diff --git a/packages/fineui/src/core/wrapper/layout/layout.card.js b/packages/fineui/src/core/wrapper/layout/layout.card.js index f2f717938..d1247e4e3 100644 --- a/packages/fineui/src/core/wrapper/layout/layout.card.js +++ b/packages/fineui/src/core/wrapper/layout/layout.card.js @@ -109,7 +109,10 @@ export class CardLayout extends Layout { const child = this._children[this._getChildName(cardName)]; this._deleteCardByName(cardName); - child && child._destroy(); + if (child) { + child._destroy(); + child = null; + } } addCardByName(cardName, cardItem) {