Browse Source

Pull request #267310: REPORT-114436 fix: 编译报错修复

Merge in DEC/fineui from ~SYLAR/fineui:release/11.0 to release/11.0

* commit '44b8567232842b708ddca9ce3a1610baf9065c0a':
  REPORT-114436 fix: 编译报错修复
research/test
Sylar-黄山 8 months ago
parent
commit
37ecc1944f
  1. 2
      packages/fineui/src/core/wrapper/layout/layout.card.js

2
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); throw new Error("cardName not exist", cardName);
} }
const child = this._children[this._getChildName(cardName)]; let child = this._children[this._getChildName(cardName)];
this._deleteCardByName(cardName); this._deleteCardByName(cardName);
if (child) { if (child) {
child._destroy(); child._destroy();

Loading…
Cancel
Save