mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 12:13:09 +02:00
Update router.ts
This commit is contained in:
parent
53f018aae6
commit
4ec264755f
1 changed files with 1 additions and 2 deletions
|
@ -50,12 +50,11 @@ export const router = new VueRouter({
|
||||||
{ path: '/authorize-follow', component: () => import('./pages/follow.vue').then(m => m.default) },
|
{ path: '/authorize-follow', component: () => import('./pages/follow.vue').then(m => m.default) },
|
||||||
/*{ path: '*', component: MkNotFound }*/
|
/*{ path: '*', component: MkNotFound }*/
|
||||||
],
|
],
|
||||||
/* なんかバギー
|
|
||||||
scrollBehavior(to, from, savedPosition) {
|
scrollBehavior(to, from, savedPosition) {
|
||||||
if (savedPosition) {
|
if (savedPosition) {
|
||||||
return savedPosition;
|
return savedPosition;
|
||||||
} else {
|
} else {
|
||||||
return { x: 0, y: 0 };
|
return { x: 0, y: 0 };
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue