fix: code workspace path error

This commit is contained in:
vben
2024-06-02 22:13:15 +08:00
parent 30f7472d26
commit 6d4991d852
10 changed files with 86 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ function resetRoutes() {
// 这些路由需要指定 name防止在路由重置时不能删除没有指定 name 的路由
if (import.meta.env.DEV && !route.name) {
console.warn(
`The route with the path ${route.path} needs to specify the field name.`,
`The route with the path ${route.path} needs to have the field name specified.`,
);
}
return route.name;