Skip to content

Commit

Permalink
fix: 拉平重定向 BASE_URL 路由
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Dec 1, 2023
1 parent 148d920 commit 339be8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare module 'vue-router' {
}

// 重定向 BASE_URL
fileRoutes.forEach((route) => {
fileRoutes.flat(Infinity).forEach((route) => {
route.path = safeResolve(route.path)
})

Expand Down

0 comments on commit 339be8c

Please sign in to comment.