Format code.
This commit is contained in:
parent
3eb7df9f21
commit
de936953bc
1 changed files with 3 additions and 3 deletions
|
|
@ -163,9 +163,9 @@ const router = createRouter({
|
||||||
routes,
|
routes,
|
||||||
//Cause "page" to begin at the top when route chanages.
|
//Cause "page" to begin at the top when route chanages.
|
||||||
scrollBehavior(to, from, savedPosition) {
|
scrollBehavior(to, from, savedPosition) {
|
||||||
// always scroll to top
|
// always scroll to top
|
||||||
return { top: 0 }
|
return { top: 0 };
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
//---------------------------------------------------------- Router Functions ----------------------------------------------------------
|
//---------------------------------------------------------- Router Functions ----------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue