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();