Commit f607fbf8 authored by zhangwenshuai's avatar zhangwenshuai

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

parent e208446b
...@@ -398,7 +398,7 @@ export default class AirTable extends Component<TableProps, TableState> { ...@@ -398,7 +398,7 @@ export default class AirTable extends Component<TableProps, TableState> {
columns={columns} columns={columns}
paginationConfig={paginationConfig} paginationConfig={paginationConfig}
showIndex={position === 'right' ? false : showIndex} showIndex={position === 'right' ? false : showIndex}
showExpand={showExpand} showExpand={position === 'right' ? false : showExpand}
emptyPlaceholder={emptyPlaceholder} emptyPlaceholder={emptyPlaceholder}
cellEditable={cellEditable} cellEditable={cellEditable}
rowSelection={position === 'right' ? false : rowSelection} rowSelection={position === 'right' ? false : rowSelection}
......
...@@ -62,7 +62,7 @@ export interface TableProps extends LoadConfigProps { ...@@ -62,7 +62,7 @@ export interface TableProps extends LoadConfigProps {
sortConfig?: any; sortConfig?: any;
paginationConfig?: any; paginationConfig?: any;
showIndex?: boolean; showIndex?: boolean;
showExpand?: Function; showExpand?: any;
emptyPlaceholder?: string; emptyPlaceholder?: string;
cellEditable?: boolean; cellEditable?: boolean;
rowHeight?: number; rowHeight?: number;
...@@ -116,7 +116,7 @@ export interface CellProps { ...@@ -116,7 +116,7 @@ export interface CellProps {
hasFixed?: boolean; hasFixed?: boolean;
paginationConfig?: any; paginationConfig?: any;
showIndex?: boolean; showIndex?: boolean;
showExpand?: Function; showExpand?: any;
emptyPlaceholder?: string; emptyPlaceholder?: string;
cellEditable?: boolean; cellEditable?: boolean;
rowSelection?: any; 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