路由跳转后自动页面回归顶部

This commit is contained in:
piexlmax
2023-03-09 23:52:54 +08:00
parent f06f1fb7f1
commit 27158f7075
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const routes = [{
const router = createRouter({
history: createWebHashHistory(),
routes
routes,
})
export default router