From ea2dc74f87775817425be396cc2e2f1d5c87531b Mon Sep 17 00:00:00 2001 From: xingbo <751848178@users.noreply.github.com> Date: Wed, 21 Jun 2023 18:23:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E7=BB=84=E4=BB=B6=E6=97=B6=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6size=E5=85=83=E7=B4=A0id=E4=BC=A0=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#529)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vantui/src/waterfall-flow/WaterfallFlowItem/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vantui/src/waterfall-flow/WaterfallFlowItem/index.tsx b/packages/vantui/src/waterfall-flow/WaterfallFlowItem/index.tsx index 65a08db3..3aa7c505 100644 --- a/packages/vantui/src/waterfall-flow/WaterfallFlowItem/index.tsx +++ b/packages/vantui/src/waterfall-flow/WaterfallFlowItem/index.tsx @@ -110,7 +110,7 @@ export function WaterfallFlowItem({ onRemove(item) }) - const forceResize = useForceResize(`#${id}`, onItemResize) + const forceResize = useForceResize(`#${contentId}`, onItemResize) const child = useMemo(() => { if (typeof renderItem !== 'function') {