Showing
1 changed file
with
15 additions
and
15 deletions
| ... | @@ -54,21 +54,21 @@ const permission = { | ... | @@ -54,21 +54,21 @@ const permission = { |
| 54 | return new Promise((resolve) => { | 54 | return new Promise((resolve) => { |
| 55 | // 向后端请求路由数据 | 55 | // 向后端请求路由数据 |
| 56 | getRouters().then((res) => { | 56 | getRouters().then((res) => { |
| 57 | - const newUrl = { | 57 | + // const newUrl = { |
| 58 | - id: 24, | 58 | + // id: 24, |
| 59 | - name: "et86", | 59 | + // name: "et86", |
| 60 | - path: "/et86", | 60 | + // path: "/et86", |
| 61 | - hidden: false, | 61 | + // hidden: false, |
| 62 | - component: "allocationConfig/et86", | 62 | + // component: "allocationConfig/et86", |
| 63 | - meta: { | 63 | + // meta: { |
| 64 | - title: "ET86", | 64 | + // title: "ET86", |
| 65 | - icon: "edit", | 65 | + // icon: "edit", |
| 66 | - permissions: "allocation:rand:list", | 66 | + // permissions: "allocation:rand:list", |
| 67 | - noCache: false, | 67 | + // noCache: false, |
| 68 | - }, | 68 | + // }, |
| 69 | - alwaysShow: false, | 69 | + // alwaysShow: false, |
| 70 | - children: null, | 70 | + // children: null, |
| 71 | - }; | 71 | + // }; |
| 72 | res.data.map((item) => { | 72 | res.data.map((item) => { |
| 73 | if (item.name == "AllocationConfig") { | 73 | if (item.name == "AllocationConfig") { |
| 74 | item.children.push(newUrl); | 74 | item.children.push(newUrl); | ... | ... |
-
Please register or login to post a comment