提交 df23f904 authored 作者: matian's avatar matian

updates

上级 b3793255
...@@ -10,7 +10,7 @@ const router = createRouter({ ...@@ -10,7 +10,7 @@ const router = createRouter({
return { top: 0 } return { top: 0 }
}, },
history: createWebHistory(), history: createWebHistory(),
routes: [{ path: '/:pathMatch(.*)*', redirect: '/' }] routes: [{ path: '/:pathMatch(.*)*', redirect: '/home' }]
}) })
// router.beforeEach((to, from, next) => { // router.beforeEach((to, from, next) => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论