diff --git a/frontend/components/ArticlesList/index.vue b/frontend/components/ArticlesList/index.vue
index b1d75b4..9b989b1 100644
--- a/frontend/components/ArticlesList/index.vue
+++ b/frontend/components/ArticlesList/index.vue
@@ -15,7 +15,7 @@ watch(route, async () => {
artlist.value = await useFetchPostData(route?.params, route.query?.sort, pagenum = 1)
isLoading.value = false
}, { deep: true, immediate: true })
-onMounted(() => {
+onBeforeMount(() => {
(window as any).addEventListener('scroll', addArtListItem)
})
onUnmounted(() => {
diff --git a/frontend/components/Main/index.vue b/frontend/components/Main/index.vue
index ec1ae8f..9c1e200 100644
--- a/frontend/components/Main/index.vue
+++ b/frontend/components/Main/index.vue
@@ -8,7 +8,7 @@ const route = useRoute()