补充图片 densities
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-05 19:21:21 +08:00
parent 43a85ac056
commit 29b3c89c40
2 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,7 @@ const formatDate = (date: Date) => `${date.getFullYear()} 年 ${date.getMonth()
src={featureImage}
width={640}
height={360}
densities={[1.5, 2]}
alt="博文的头图"
/>
)
@ -41,6 +42,7 @@ const formatDate = (date: Date) => `${date.getFullYear()} 年 ${date.getMonth()
alt=`用户 ${author.name} 的头像`
width={24}
height={24}
densities={[1.5, 2]}
/>
<span class="content">{author.name}</span>
</div>}