fix(components): [virtual-list] throw non-corresponding error message (#8835)

This commit is contained in:
dopamine 2022-07-17 17:28:26 +08:00 committed by GitHub
parent f30c6675b7
commit 2287dc3690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,7 +415,7 @@ const DynamicSizeGrid = createGrid({
throwError(
SCOPE,
`
"columnWidth" must be passed as function,
"rowHeight" must be passed as function,
instead ${typeof rowHeight} was given.
`
)