diff --git a/webapp/src/router/index.ts b/webapp/src/router/index.ts index 0b35e2b6..cd3bdbec 100644 --- a/webapp/src/router/index.ts +++ b/webapp/src/router/index.ts @@ -23,6 +23,13 @@ import { createRouter, createWebHistory } from 'vue-router'; const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), linkActiveClass: 'active', + scrollBehavior() { + return new Promise((resolve) => { + setTimeout(() => { + resolve({ top: 0 }); + }, 100); + }); + }, routes: [ { path: '/',