1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 21:58:58 +09:00

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;