VUE 踩坑-二级路由
二级路由要设置children 二级数组 不能直接从router 读取
遍历的时候
{{item.name}}

router.options.routes[1].children表明routes里第一个页面的children

相关文章: