diff --git a/src/App.vue b/src/App.vue index f825319..f85ddb4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -38,8 +38,8 @@ onMounted(() => { _getCustomerList() timer = setInterval(() => { _getCustomerList() - scrollList.value?.start() - }, 60000 * 5) + scrollList.value?.scrollTo(0, 1000, false) + }, 1000 * 60) }) onBeforeUnmount(() => { clearInterval(timer) diff --git a/src/components/ScrollList/ScrollList.vue b/src/components/ScrollList/ScrollList.vue index 41d03a7..4bc5565 100644 --- a/src/components/ScrollList/ScrollList.vue +++ b/src/components/ScrollList/ScrollList.vue @@ -4,7 +4,6 @@