mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 07:26:47 +00:00
fix: 改用 style 传 height
This commit is contained in:
@@ -60,7 +60,6 @@ export default function LazyImage({
|
||||
ref: imageRef,
|
||||
src: imageLoaded ? src : placeholderSrc,
|
||||
alt: alt,
|
||||
style: src ? style : { height: '0px', ...style },
|
||||
onLoad: handleImageLoad
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user