diff --git a/src/App.vue b/src/App.vue index 65662c0..a1d563f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,10 @@ - + diff --git a/src/components/footView.vue b/src/components/footView.vue index 22fcb34..a513ed0 100644 --- a/src/components/footView.vue +++ b/src/components/footView.vue @@ -63,10 +63,7 @@ export default { } -.logo { - position: absolute; -} .wb { letter-spacing: 1.5px; diff --git a/src/router/index.js b/src/router/index.js index 896f75a..d368dd8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,6 +12,13 @@ const router = createRouter({ }, ], + scrollBehavior(savedPosition) { + + if (performance.navigation.type === 1) { + return { x: 0, y: 0 } + } + return savedPosition || { x: 0, y: 0 } + } }) export default router