@ -31,7 +31,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
return;
}
doCheck.call(this, [], this.tree.getRoot(), selectedValues);
doCheck([], this.tree.getRoot(), selectedValues);
callback({
items: values(result),
@ -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) {