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,
|
||||
//Cause "page" to begin at the top when route chanages.
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
// always scroll to top
|
||||
return { top: 0 }
|
||||
},
|
||||
// always scroll to top
|
||||
return { top: 0 };
|
||||
},
|
||||
});
|
||||
|
||||
//---------------------------------------------------------- Router Functions ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue