研发图纸文件管理系统-前端项目
iczer
2020-08-06 a55210f9a65bf137f5c4e48e4b9a0d0bd55e4712
chore: add menu invisible configuration for async router; :star2:
1个文件已修改
3 ■■■■■ 已修改文件
src/utils/routerUtil.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/routerUtil.js
@@ -36,6 +36,9 @@
          page: routeCfg.page || router.page
        }
      }
      if (routeCfg.invisible || router.invisible) {
        route.meta.invisible = true
      }
      if (routeCfg.children && routeCfg.children.length > 0) {
        route.children = parseRoutes(routeCfg.children, routerMap)
      }