Browse Source

Merge pull request #267127 in DEC/fineui from release/11.0 to feature/x

* commit '9cf998160477f4d5c24a80da1b8fb2817f7e5fc5':
  REPORT-114436 fix: tab设置single时内存泄露问题
  REPORT-101548 fix: 复选下拉树this指向问题
master
superman 8 months ago
parent
commit
63ee73cbea
  1. 5
      packages/fineui/src/core/wrapper/layout/layout.card.js

5
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) {

Loading…
Cancel
Save