Skip to content

Commit 2436075

Browse files
moon6967gitee-org
authored andcommitted
修复菜单显示 Please set titile 的问题
Signed-off-by: chenting <[email protected]>
1 parent c144439 commit 2436075

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/routerHelper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord
100100
//处理顶级非目录路由
101101
if (!route.children && route.parentId == 0 && route.component) {
102102
data.component = Layout
103-
data.meta = {}
104103
data.name = toCamelCase(route.path, true) + 'Parent'
105104
data.redirect = ''
106105
meta.alwaysShow = true

0 commit comments

Comments
 (0)