Update router.ts

This commit is contained in:
syuilo 2020-02-01 09:19:05 +09:00
parent 50fd020509
commit a941c05d75

View file

@ -50,6 +50,7 @@ export const router = new VueRouter({
{ path: '/authorize-follow', component: () => import('./pages/follow.vue').then(m => m.default) },
/*{ path: '*', component: MkNotFound }*/
],
// なんかバギー
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
return savedPosition;