Browse Source

KERNEL-14215 fix:bi.card组件切换时tab消失-bug43

es6
Vivy.Pan 1 year ago
parent
commit
6d458d0e35
  1. 2
      src/core/wrapper/layout/layout.card.js

2
src/core/wrapper/layout/layout.card.js

@ -96,7 +96,7 @@ export class CardLayout extends Layout {
_deleteCardByName(cardName) {
delete this._children[this._getChildName(cardName)];
const index = findIndex(this.options.items, (i, item) => item.cardName === cardName);
const index = findIndex(this.options.items, (i, item) => item.cardName == cardName);
if (index > -1) {
this.options.items.splice(index, 1);
}

Loading…
Cancel
Save