diff --git a/packages/vant/src/skeleton/Skeleton.tsx b/packages/vant/src/skeleton/Skeleton.tsx index 0157ea2af..7ac2f1b0d 100644 --- a/packages/vant/src/skeleton/Skeleton.tsx +++ b/packages/vant/src/skeleton/Skeleton.tsx @@ -78,7 +78,7 @@ export default defineComponent({ }; const renderRows = () => - Array(props.row) + Array(+props.row) .fill('') .map((_, i) => (