Browse Source

Pull request #3730: 无JIRA任务,增加返回所选tab id列表

Merge in VISUAL/fineui from ~REX/rex-fineui:master to master

* commit '19156ec39f96b5985beb14476ce52c8f6aa5cd96':
  无JIRA任务,增加返回所选tab id列表
research/test
Rex-张岚奕 4 months ago
parent
commit
b211b994b4
  1. 4
      packages/fineui/src/base/combination/tab.js
  2. 2
      packages/fineui/typescript/base/combination/tab.ts

4
packages/fineui/src/base/combination/tab.js

@ -158,6 +158,10 @@ export class Tab extends Widget {
return this.layout.isCardExisted(cardName);
}
getAllCardIds() {
return Object.keys(this.cardMap);
}
getSelect() {
return this.curr;
}

2
packages/fineui/typescript/base/combination/tab.ts

@ -31,4 +31,6 @@ export declare class Tab extends Widget {
populate(): void;
isCardExisted(cardName: string): boolean;
getAllCardIds(): string[];
}

Loading…
Cancel
Save