mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Update router.ts
This commit is contained in:
parent
53f018aae6
commit
4ec264755f
@ -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 New Issue
Block a user