From 957adca2484bb6b6295a0eea2b0489d7000bfae3 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 17 Mar 2022 17:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20tab=20showInd?= =?UTF-8?q?ex=20function=20v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/tab.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/base/combination/tab.js b/src/base/combination/tab.js index 164b0a04b..893513721 100644 --- a/src/base/combination/tab.js +++ b/src/base/combination/tab.js @@ -45,8 +45,8 @@ BI.Tab = BI.inherit(BI.Widget, { cardCreator: function (v) { var card = o.cardCreator.apply(self, arguments); self.cardMap[v] = card; - -return card; + + return card; }, afterCardShow: function (v) { self._deleteOtherCards(v); @@ -114,8 +114,8 @@ return card; if (BI.isEqual(name, (cardname + ""))) { self.layout.deleteCardByName(name); delete self.cardMap[name]; - -return true; + + return true; } }); }, @@ -134,7 +134,7 @@ return true; getTab: function (v) { this._assertCard(v); - + return this.layout.getCardByName(v); },