From b0fbff0646548c19862776d4b2fa1b620f3a5e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B2=BE=E6=AD=A6=E9=99=88=E7=9C=9F?= <546369005@qq.com> Date: Tue, 11 Jan 2022 09:21:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(Skeleton):=20row=E4=B8=BA=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E6=95=B0=E5=AD=97=E6=97=B6=E4=B8=8D=E8=83=BD=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E5=A4=9A=E8=A1=8C=20(#10172)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vant/src/skeleton/Skeleton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => (