diff --git a/src/router/index.js b/src/router/index.js index e9a8f2773..3abfa058d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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 ----------------------------------------------------------