diff --git a/src/base/combination/tab.js b/src/base/combination/tab.js index 1aa075870..664b0c09a 100644 --- a/src/base/combination/tab.js +++ b/src/base/combination/tab.js @@ -104,6 +104,10 @@ BI.Tab = BI.inherit(BI.Widget, { }); }, + isCardExisted: function (cardName) { + return this.layout.isCardExisted(cardName); + }, + getSelect: function () { return this.curr; }, diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 6d521772c..a1700f265 100644 --- a/typescript/base/combination/tab.ts +++ b/typescript/base/combination/tab.ts @@ -28,4 +28,6 @@ export declare class Tab extends Widget { getTab(v: string | number): T; populate(): void; + + isCardExisted(): boolean; }