mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-16 14:12:51 +00:00
perf: 优化图片存储名
This commit is contained in:
parent
59b29014d9
commit
cedffd17b3
@ -92,6 +92,7 @@
|
|||||||
args.images.forEach(src => {
|
args.images.forEach(src => {
|
||||||
const img = document.createElement('img');
|
const img = document.createElement('img');
|
||||||
img.src = thumbnailUrl(src);
|
img.src = thumbnailUrl(src);
|
||||||
|
img.setAttribute('alt', 'image');
|
||||||
img.setAttribute('data-original', src);
|
img.setAttribute('data-original', src);
|
||||||
container.appendChild(img);
|
container.appendChild(img);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user