使用缩略图优化了网络传输速度与流量消耗

This commit is contained in:
2024-04-11 12:14:26 +08:00
parent 8aff1ae64e
commit 7a5dde7169
5 changed files with 41 additions and 14 deletions

View File

@@ -60,7 +60,7 @@
comicContainer.appendChild(img);
currentImageIndex++;
// 添加延迟,以控制加载速度
setTimeout(loadNextImage, 1000);
setTimeout(loadNextImage, 500);
} else {
console.error('Error loading image:', response.statusText);
}