Update router.ts

This commit is contained in:
syuilo 2020-02-01 09:16:18 +09:00
parent 53f018aae6
commit 4ec264755f

View file

@ -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 };
} }
}*/ }
}); });