Browse Source

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

Merge in VISUAL/fineui from ~VIVY.PAN/fineui:es6 to es6

* commit '6d458d0e358625fb6ca5091b3835a0f225216f81':
  KERNEL-14215 fix:bi.card组件切换时tab消失-bug43
es6
Vivy.Pan-潘柯芋 1 year ago
parent
commit
dd4aa1d1d3
  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