somewhat fix scrolling behaviour #127
1 changed files with 0 additions and 2 deletions
|
@ -376,8 +376,6 @@ const afterStoreSetup = async ({ store, i18n }) => {
|
|||
history: createWebHistory(),
|
||||
routes: routes(store),
|
||||
scrollBehavior: (to, _from, savedPosition) => {
|
||||
console.log(to, _from)
|
||||
console.log(savedPosition)
|
||||
if (to.matched.some(m => m.meta.dontScroll)) {
|
||||
return {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue