子菜单父级要带<router-view />
这样 vuex才有容器去展示 子菜单的内容
index.vue:
<!-- 父级路由组件 --><template> <div> <!-- xxx html 内容 --> <router-view /> </div></template>https://panjiachen.github.io/vue-element-admin-site/zh/guide/essentials/router-and-nav.html#%E4%BE%A7%E8%BE%B9%E6%A0%8F