fix:修复路由名称
This commit is contained in:
@@ -9,7 +9,7 @@ const routes: RouteRecordRaw[] = Object.values(routeModules)
|
||||
.flat() // 扁平化数组,确保所有路由项都在一个数组中
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory('/blog/'),
|
||||
history: createWebHashHistory(),
|
||||
scrollBehavior: () => ({ top: 0 }),
|
||||
routes
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user