Browse Source

Merge pull request #263857 in DEC/fineui from master to feature/x

* commit 'b211b994b417f1a50ce3abb45c3486df0f457fb5':
  无JIRA任务,增加返回所选tab id列表
research/test
superman 10 months ago
parent
commit
677054eac4
  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