Commit be3d98fa3dbde1079f314104c33831a91c791ff1

Authored by luocong2016
Committed by GitHub
1 parent ce0f528b

chore<table>: fix type (#2529)

src/components/Table/src/props.ts
... ... @@ -131,7 +131,7 @@ export const basicProps = {
131 131 type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>,
132 132 },
133 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 135 default: null,
136 136 },
137 137 beforeEditSubmit: {
... ...