禁用博客Image优化

This commit is contained in:
2025-06-23 09:26:20 +08:00
parent ab3ed103db
commit 3310bd20e9

View File

@@ -66,7 +66,7 @@ export default function Blog() {
img: ({ src }) => (
<PhotoProvider className="w-full">
<PhotoView src={src as string}>
<Image src={src as string} alt="加载失败" />
<Image src={src as string} width={0} height={0} style={{ width: '100%', height: 'auto' }} unoptimized alt="加载失败" />
</PhotoView>
</PhotoProvider>
),