Browse Source

更改导航跳转逻辑

origin/bugfix_relocation
dai 4 years ago
parent
commit
19e390bee6
  1. 2
      src/router/index.js

2
src/router/index.js

@ -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 = {

Loading…
Cancel
Save