From 360a3691a6abb165f9d937c6b5532a0a20c4e8de Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 23 Nov 2024 15:07:56 +0800 Subject: [PATCH] lazy-image --- components/LazyImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/LazyImage.js b/components/LazyImage.js index 8543dbb9..8f064546 100644 --- a/components/LazyImage.js +++ b/components/LazyImage.js @@ -85,7 +85,7 @@ export default function LazyImage({ } }) }, - { rootMargin: '10px 0px' } // 轻微提前加载 + { rootMargin: '50px 0px' } // 轻微提前加载 ) if (imageRef.current) { observer.observe(imageRef.current)