【框架优化】目录展示判断依据只来源菜单管理

pull/2/head
zengchenxi 9 months ago
parent 7f657e7253
commit ac93990c07

@ -71,7 +71,6 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord
noCache: !route.keepAlive,
alwaysShow:
route.children &&
route.children.length === 1 &&
(route.alwaysShow !== undefined ? route.alwaysShow : true)
}
// 路由地址转首字母大写驼峰作为路由名称适配keepAlive

Loading…
Cancel
Save