diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 1d16fc0c75..6d521772cf 100644 --- a/typescript/base/combination/tab.ts +++ b/typescript/base/combination/tab.ts @@ -8,11 +8,13 @@ export declare class Tab extends Widget { props: { showIndex: any; - cardCreator: Function; - direction?: string; // top, bottom, left, right, custom + cardCreator: (v: any) => Obj; + direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom'; // top, bottom, left, right, custom single?: boolean; // 是不是单页面 - logic?: any; - tab?: boolean; + logic?: { + dynamic: boolean; + }; + tab?: any[]; } setSelect(v: string | number, action?: Action, callback?: Function): void;