修复菜单显示 Please set titile 的问题

Signed-off-by: chenting <1016830869@qq.com>
pull/634/head
chenting 2025-01-02 03:30:26 +00:00 committed by Gitee
parent c144439e5b
commit 2436075337
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord
//处理顶级非目录路由
if (!route.children && route.parentId == 0 && route.component) {
data.component = Layout
data.meta = {}
data.name = toCamelCase(route.path, true) + 'Parent'
data.redirect = ''
meta.alwaysShow = true