mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 15:41:08 +08:00
chore: 未找到组件提示信息
This commit is contained in:
@@ -62,7 +62,7 @@ function convertRoutes(
|
||||
: `${normalizePath}.vue`
|
||||
];
|
||||
if (!route.component) {
|
||||
console.error(`未找到对应组件: ${component}`);
|
||||
console.error(`未找到对应组件: /views${component}.vue`);
|
||||
// 默认为404页面
|
||||
route.component = layoutMap.NotFoundComponent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user