Router scroll reset

pull/12/head
Merve Özçifçi 2019-05-22 17:39:46 +03:00
parent 602e06ef9a
commit 4fa0700d44
1 changed files with 260 additions and 257 deletions

View File

@ -261,5 +261,8 @@ export default new Router({
name: 'tristatecheckbox',
component: () => import('./views/tristatecheckbox/TriStateCheckboxDemo.vue')
}
]
],
scrollBehavior() {
return {x: 0, y: 0};
}
});