|
|
@ -86,7 +86,7 @@ function filterChildren(childrenMap, lastRouter = false) { |
|
|
|
var children = [] |
|
|
|
var children = [] |
|
|
|
childrenMap.forEach((el, index) => { |
|
|
|
childrenMap.forEach((el, index) => { |
|
|
|
if (el.children && el.children.length) { |
|
|
|
if (el.children && el.children.length) { |
|
|
|
if (el.component === 'ParentView') { |
|
|
|
if (el.component === 'ParentView' && !lastRouter) { |
|
|
|
el.children.forEach(c => { |
|
|
|
el.children.forEach(c => { |
|
|
|
c.path = el.path + '/' + c.path |
|
|
|
c.path = el.path + '/' + c.path |
|
|
|
if (c.children && c.children.length) { |
|
|
|
if (c.children && c.children.length) { |
|
|
|