update order

This commit is contained in:
lb
2023-03-08 14:25:19 +08:00
parent af69a4d53f
commit bbfd450c9f
3 changed files with 337 additions and 82 deletions

View File

@@ -73,7 +73,7 @@ export function addDynamicRoute (routeParams, router) {
}
const router = new Router({
mode: 'hash',
mode: 'history',
scrollBehavior: () => ({ y: 0 }),
routes: pageRoutes.concat(moduleRoutes)
})