chore: 修复资源卡片图像的警告

This commit is contained in:
2026-01-03 14:53:58 +08:00
parent 720ca56eb3
commit 12724bea7f

View File

@@ -16,9 +16,9 @@ export default function ResourceCardImage({ imageUrl }: ResourceCardImage) {
alt="资源图片" alt="资源图片"
width={90} width={90}
height={90} height={90}
className="rounded-md shadow" className="rounded-md shadow w-22.5 h-22.5"
priority priority
quality={80} quality={75}
onError={() => setImageError(true)} onError={() => setImageError(true)}
/>} />}
</> </>