mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
parent
ab90e3fa08
commit
04f3e0da21
@ -126,7 +126,10 @@ export const tableProps = () => {
|
||||
default: undefined,
|
||||
},
|
||||
direction: { type: String as PropType<TableProps['direction']>, default: undefined },
|
||||
expandFixed: { type: Boolean as PropType<TableProps['expandFixed']>, default: undefined },
|
||||
expandFixed: {
|
||||
type: [Boolean, String] as PropType<TableProps['expandFixed']>,
|
||||
default: undefined,
|
||||
},
|
||||
expandColumnWidth: {
|
||||
type: Number as PropType<TableProps['expandColumnWidth']>,
|
||||
default: undefined,
|
||||
|
@ -98,7 +98,7 @@ export interface TableProps<RecordType = DefaultRecordType> {
|
||||
direction?: 'ltr' | 'rtl';
|
||||
|
||||
// Expandable
|
||||
expandFixed?: boolean;
|
||||
expandFixed?: 'left' | 'right' | boolean;
|
||||
expandColumnWidth?: number;
|
||||
expandedRowKeys?: Key[];
|
||||
defaultExpandedRowKeys?: Key[];
|
||||
|
Loading…
Reference in New Issue
Block a user