Update router.ts

This commit is contained in:
syuilo 2020-02-01 09:19:05 +09:00
parent 06f6227ea8
commit 8365167452

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;