Browse Source

Pull request #1934: 无JIRA任务 tab增加isCardExisted接口

Merge in VISUAL/fineui from ~TELLER/fineui:master to master

* commit 'b8105292649672a9b4f7d9d76560bb99b6d96bc3':
  feat: tab增加isCardExisted接口
es6
Teller 3 years ago
parent
commit
9ce6a1c91d
  1. 4
      src/base/combination/tab.js
  2. 2
      typescript/base/combination/tab.ts

4
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;
},

2
typescript/base/combination/tab.ts

@ -28,4 +28,6 @@ export declare class Tab extends Widget {
getTab<T>(v: string | number): T;
populate(): void;
isCardExisted(): boolean;
}

Loading…
Cancel
Save