diff --git a/src/router/router.js b/src/router/router.js index 085f0f93..bc550e3f 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -75,9 +75,6 @@ const routes = [ const router = createRouter({ history: createWebHistory(), routes, - scrollBehavior: function (_to, _from, savedPosition) { - return savedPosition ? savedPosition : window.scrollTo(0, 0); - }, }); export default router;