chore<table>: fix type (#2529)

This commit is contained in:
luocong2016 2023-02-15 11:43:35 +08:00 committed by GitHub
parent ce0f528ba8
commit be3d98fa3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ export const basicProps = {
type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>,
},
scroll: {
type: Object as PropType<{ x: number | true; y: number }>,
type: Object as PropType<{ x: number | string | true; y: number | string }>,
default: null,
},
beforeEditSubmit: {