From 42c5bef1cd9718bcd899ffde26675b4e15df8e05 Mon Sep 17 00:00:00 2001 From: Kobi Date: Wed, 19 May 2021 14:56:04 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7828=20=E8=A1=A5=E5=85=85=E4=B8=80?= =?UTF-8?q?=E4=B8=8B=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/combination/tab.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 1d16fc0c7..6d521772c 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;