1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00

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