From 9d6e6d76d367f35e8b7707d6e05e6167d7ddf195 Mon Sep 17 00:00:00 2001 From: Femoon <839242981@qq.com> Date: Sat, 21 Oct 2023 15:55:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Medium=20=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E9=A6=96=E9=A1=B5=E6=96=87=E7=AB=A0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=97=A0=E5=9B=BE=E7=89=87=20AOS=20=E5=8A=A8=E7=94=BB=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/LazyImage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/LazyImage.js b/components/LazyImage.js index 4556bd0d..d878ddb1 100644 --- a/components/LazyImage.js +++ b/components/LazyImage.js @@ -60,6 +60,7 @@ export default function LazyImage({ ref: imageRef, src: imageLoaded ? src : placeholderSrc, alt: alt, + style: src ? style : { height: '0px', ...style }, onLoad: handleImageLoad }