From 6d458d0e358625fb6ca5091b3835a0f225216f81 Mon Sep 17 00:00:00 2001 From: "Vivy.Pan" Date: Wed, 8 Feb 2023 10:50:20 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-14215=20fix:bi.card=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=97=B6tab=E6=B6=88=E5=A4=B1-bug43?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/wrapper/layout/layout.card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wrapper/layout/layout.card.js b/src/core/wrapper/layout/layout.card.js index 6a7ebaadc..1dcc0d657 100644 --- a/src/core/wrapper/layout/layout.card.js +++ b/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); }