|
@ -375,7 +375,7 @@ function fnAddDynamicMenuRoutes(menuList = [], routes = []) { |
|
|
for (var i = 0; i < menuList.length; i++) { |
|
|
for (var i = 0; i < menuList.length; i++) { |
|
|
if (menuList[i].children && menuList[i].children.length >= 1) { |
|
|
if (menuList[i].children && menuList[i].children.length >= 1) { |
|
|
temp = temp.concat(menuList[i].children); |
|
|
temp = temp.concat(menuList[i].children); |
|
|
continue; |
|
|
// continue;
|
|
|
} |
|
|
} |
|
|
// 组装路由
|
|
|
// 组装路由
|
|
|
var route = { |
|
|
var route = { |
|
|