diff --git a/nginx/vue/src/views/home/Collage.vue b/nginx/vue/src/views/home/Collage.vue index e72d878..5ae09f4 100644 --- a/nginx/vue/src/views/home/Collage.vue +++ b/nginx/vue/src/views/home/Collage.vue @@ -17,7 +17,7 @@ const currentUrl = computed(() => images[currentIndex.value].url); let nextId; -function nextRandomImage() { +function nextImage() { clearTimeout(nextId); currentIndex.value = (currentIndex.value + 1) % images.length; nextId = setTimeout(nextImage, 10000);