* commit '37ecc1944fac65fdbd0b0282d680157f99925365': REPORT-114436 fix: 编译报错修复
@ -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();