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