mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-06-19 06:42:00 +08:00
修复菜单显示 Please set titile 的问题
Signed-off-by: chenting <1016830869@qq.com>
This commit is contained in:
parent
c144439e5b
commit
2436075337
@ -100,7 +100,6 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord
|
|||||||
//处理顶级非目录路由
|
//处理顶级非目录路由
|
||||||
if (!route.children && route.parentId == 0 && route.component) {
|
if (!route.children && route.parentId == 0 && route.component) {
|
||||||
data.component = Layout
|
data.component = Layout
|
||||||
data.meta = {}
|
|
||||||
data.name = toCamelCase(route.path, true) + 'Parent'
|
data.name = toCamelCase(route.path, true) + 'Parent'
|
||||||
data.redirect = ''
|
data.redirect = ''
|
||||||
meta.alwaysShow = true
|
meta.alwaysShow = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user