diff --git a/client/src/components/Playground.vue b/client/src/components/Playground.vue index ffeb887..afe6e79 100644 --- a/client/src/components/Playground.vue +++ b/client/src/components/Playground.vue @@ -72,16 +72,11 @@ const disabledMap = computed(() => { }) const showMap = ref({} as { [key: string]: boolean}) -window.setTimeout(() => { - for (const source of sources) { +sources.forEach((source, index) => { + window.setTimeout(() => { showMap.value[source.id] = true - } -}, 1000) -window.setTimeout(() => { - for (const source of sources) { - showMap.value[source.id] = false - } -}, 3000) + }, 1000 + index * 250) +})