chore: update image attrs

This commit is contained in:
Steven
2024-01-13 14:08:36 +08:00
parent 16e68fbfff
commit a8074d94e8
5 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,7 @@ const MemoResourceListView = ({ resourceList = [] }: { resourceList: Resource[]
src={resource.externalLink ? url : `${url}${thumbnail ? "?thumbnail=1" : ""}`}
onClick={() => handleImageClick(url)}
decoding="async"
loading="lazy"
/>
);
} else if (type === "video/*") {