1.判断子组件
第一个template:没有子路由的组件
第二个el-submenu 有子路由的
hasOneshowingChild详解
四个条件,其中onlyOnechild 是在那里设置的,onShowingchildren
item.alwaysShow 渲染
app-link标签
1.判断子组件
第一个template:没有子路由的组件
第二个el-submenu 有子路由的
hasOneshowingChild详解
四个条件,其中onlyOnechild 是在那里设置的,onShowingchildren
item.alwaysShow 渲染
app-link标签