somewhat alleviate scroll-jumping
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5d3c763733
commit
a7e8a7a64e
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