From f607fbf8fff00c20e5a1f6e2873f0bc1cb285ee2 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Thu, 25 Jun 2020 01:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=B3=E4=BE=A7=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E5=88=97=E4=B8=8D=E9=9C=80=E8=A6=81=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/apolloTable/component/Table.tsx | 2 +- components/apolloTable/component/interface.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/apolloTable/component/Table.tsx b/components/apolloTable/component/Table.tsx index c67e0f9..48351db 100644 --- a/components/apolloTable/component/Table.tsx +++ b/components/apolloTable/component/Table.tsx @@ -398,7 +398,7 @@ export default class AirTable extends Component { columns={columns} paginationConfig={paginationConfig} showIndex={position === 'right' ? false : showIndex} - showExpand={showExpand} + showExpand={position === 'right' ? false : showExpand} emptyPlaceholder={emptyPlaceholder} cellEditable={cellEditable} rowSelection={position === 'right' ? false : rowSelection} diff --git a/components/apolloTable/component/interface.tsx b/components/apolloTable/component/interface.tsx index 467c195..29362bc 100644 --- a/components/apolloTable/component/interface.tsx +++ b/components/apolloTable/component/interface.tsx @@ -62,7 +62,7 @@ export interface TableProps extends LoadConfigProps { sortConfig?: any; paginationConfig?: any; showIndex?: boolean; - showExpand?: Function; + showExpand?: any; emptyPlaceholder?: string; cellEditable?: boolean; rowHeight?: number; @@ -116,7 +116,7 @@ export interface CellProps { hasFixed?: boolean; paginationConfig?: any; showIndex?: boolean; - showExpand?: Function; + showExpand?: any; emptyPlaceholder?: string; cellEditable?: boolean; rowSelection?: any; -- 2.21.0