Commit f607fbf8 authored by zhangwenshuai's avatar zhangwenshuai

修改右侧固定列不需要展开

parent e208446b
......@@ -398,7 +398,7 @@ export default class AirTable extends Component<TableProps, TableState> {
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}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment