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