diff --git a/components/apolloTable/component/Table.tsx b/components/apolloTable/component/Table.tsx index c67e0f9c2953a53b06aab822c2d8ed17259e0b01..48351db2b5db847dee38ae23a4c64261b2438ddb 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 467c19522bc8ce7dac5291ebad482d65001b4377..29362bc40ba8be9f723f3968f0335eb5deded4fb 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;