## Background 项目中需要多个layout布局 ## Proposal 项目中有多种layout的需求,那么就需要自定义layout组件,在layout组件内自己实现头部,菜单,底部。现在的问题在于layout组件的props是空的拿不到config的routes,这种情况下如何拿到routes并实现菜单的渲染呢? ## Additional context 