路由面包屑 点击一级 二级 3级跳转问题
const firstRouter = this.$router.options.routes.find(x => x.name === levelList[0].name)
let path = ''
if (!item.parent) { // 点击一级菜单
path = firstRouter.path
let children = firstRouter.children
while (children && children.length > 0) {
path += '/' + children[0].path
children = children[0].children
}
}