Skip to content

Commit 2287dc3

Browse files
authored
fix(components): [virtual-list] throw non-corresponding error message (element-plus#8835)
1 parent f30c667 commit 2287dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/virtual-list/src/components/dynamic-size-grid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ const DynamicSizeGrid = createGrid({
415415
throwError(
416416
SCOPE,
417417
`
418-
"columnWidth" must be passed as function,
418+
"rowHeight" must be passed as function,
419419
instead ${typeof rowHeight} was given.
420420
`
421421
)

0 commit comments

Comments
 (0)