diff --git a/src/router/function.js b/src/router/function.js index eba1adf866007b9163d0f9c2c4085f88e5a89773..1e3fd4ecc6a78bc5436d7e69aa2c66cc7a0117cd 100644 --- a/src/router/function.js +++ b/src/router/function.js @@ -278,9 +278,9 @@ function getViews(path) { var menuToRouter = (menu) => { menu.forEach((e) => { e.name = getName(e.path); - if (e.path.indexOf("#") != -1) { - e.path = e.path.split("#")[1]; - } + // if (e.path.indexOf("#") != -1) { + // e.path = e.path.split("#")[1]; + // } if (e.children && e.menuType == 0) { // 其他层级作为文件夹,只提供父级 e.component = () => import("../page/parent/parent.vue");