Commit be3d98fa3dbde1079f314104c33831a91c791ff1
Committed by
GitHub
1 parent
ce0f528b
chore<table>: fix type (#2529)
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Table/src/props.ts
@@ -131,7 +131,7 @@ export const basicProps = { | @@ -131,7 +131,7 @@ export const basicProps = { | ||
131 | type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>, | 131 | type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>, |
132 | }, | 132 | }, |
133 | scroll: { | 133 | scroll: { |
134 | - type: Object as PropType<{ x: number | true; y: number }>, | 134 | + type: Object as PropType<{ x: number | string | true; y: number | string }>, |
135 | default: null, | 135 | default: null, |
136 | }, | 136 | }, |
137 | beforeEditSubmit: { | 137 | beforeEditSubmit: { |