fix:修复路由名称

This commit is contained in:
2025-09-21 10:38:36 +08:00
parent 7a86aa408e
commit 98918eb9b6

View File

@@ -9,7 +9,7 @@ const routes: RouteRecordRaw[] = Object.values(routeModules)
.flat() // 扁平化数组,确保所有路由项都在一个数组中
const router = createRouter({
history: createWebHashHistory('/blog/'),
history: createWebHashHistory(),
scrollBehavior: () => ({ top: 0 }),
routes
})