|
|
@ -101,6 +101,10 @@ function filterChildren(childrenMap, lastRouter = false) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (lastRouter) {
|
|
|
|
if (lastRouter) {
|
|
|
|
el.path = lastRouter.path + '/' + el.path
|
|
|
|
el.path = lastRouter.path + '/' + el.path
|
|
|
|
|
|
|
|
if (el.children && el.children.length) {
|
|
|
|
|
|
|
|
children = children.concat(filterChildren(el.children, el))
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
children = children.concat(el)
|
|
|
|
children = children.concat(el)
|
|
|
|
})
|
|
|
|
})
|
|
|
|