From 44b8567232842b708ddca9ce3a1610baf9065c0a Mon Sep 17 00:00:00 2001
From: Sylar <>
Date: Tue, 12 Mar 2024 18:39:49 +0800
Subject: [PATCH] =?UTF-8?q?REPORT-114436=20fix:=20=E7=BC=96=E8=AF=91?=
 =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 packages/fineui/src/core/wrapper/layout/layout.card.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/fineui/src/core/wrapper/layout/layout.card.js b/packages/fineui/src/core/wrapper/layout/layout.card.js
index d1247e4e3..940831926 100644
--- a/packages/fineui/src/core/wrapper/layout/layout.card.js
+++ b/packages/fineui/src/core/wrapper/layout/layout.card.js
@@ -107,7 +107,7 @@ export class CardLayout extends Layout {
             throw new Error("cardName not exist", cardName);
         }
 
-        const child = this._children[this._getChildName(cardName)];
+        let child = this._children[this._getChildName(cardName)];
         this._deleteCardByName(cardName);
         if (child) {
             child._destroy();