diff --git a/src/components/device/DevicePreview.vue b/src/components/device/DevicePreview.vue index 8a8f280..7f5109d 100644 --- a/src/components/device/DevicePreview.vue +++ b/src/components/device/DevicePreview.vue @@ -47,6 +47,7 @@ onMounted(() => { console.log(step) console.log(anim) anim = setInterval(() => { + clearInterval(step) const target = Math.floor(Math.random() * 127) step = setInterval(() => { const intVal = Math.floor(value.value)