Browse Source

无JIRA任务,增加返回所选tab id列表

research/test
Rex 9 months ago
parent
commit
19156ec39f
  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