Эх сурвалжийг харах

!634 修复菜单显示 Please set titile 的问题
Merge pull request !634 from chenting/master

芋道源码 7 сар өмнө
parent
commit
166e95298b

+ 0 - 1
src/utils/routerHelper.ts

@@ -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