feat: 搭建首页的效果

This commit is contained in:
zoujing
2026-04-01 20:18:19 +08:00
parent 262bf84e81
commit 453bf0a0d2
2 changed files with 297 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ router.beforeEach((to, from, next) => {
const keepAlive = to?.meta?.keepAlive
if (!router.hasRoute(to.name)) {
router.push('/error')
router.push('/home')
return
}