diff --git a/pages/index.vue b/pages/index.vue index 2e8fc6d..5b6eaca 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -47,7 +47,7 @@ useSeoMeta({ const dataStore = useDataStore() const scrollDown = function () { - window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }) + window.scrollTo({ top: window.innerHeight, behavior: 'smooth' }) }