正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -86,7 +86,7 @@ function filterChildren(childrenMap, lastRouter = false) { | @@ -86,7 +86,7 @@ function filterChildren(childrenMap, lastRouter = false) { | ||
| 86 | var children = [] | 86 | var children = [] |
| 87 | childrenMap.forEach((el, index) => { | 87 | childrenMap.forEach((el, index) => { |
| 88 | if (el.children && el.children.length) { | 88 | if (el.children && el.children.length) { |
| 89 | - if (el.component === 'ParentView') { | 89 | + if (el.component === 'ParentView' && !lastRouter) { |
| 90 | el.children.forEach(c => { | 90 | el.children.forEach(c => { |
| 91 | c.path = el.path + '/' + c.path | 91 | c.path = el.path + '/' + c.path |
| 92 | if (c.children && c.children.length) { | 92 | if (c.children && c.children.length) { |
-
请 注册 或 登录 后发表评论