Elements-SY

modify

...@@ -69,11 +69,11 @@ const permission = { ...@@ -69,11 +69,11 @@ const permission = {
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);
75 - } 75 + // }
76 - }); 76 + // });
77 res.data = hasPermi.routerPer(res.data); 77 res.data = hasPermi.routerPer(res.data);
78 const sdata = JSON.parse(JSON.stringify(res.data)); 78 const sdata = JSON.parse(JSON.stringify(res.data));
79 const rdata = JSON.parse(JSON.stringify(res.data)); 79 const rdata = JSON.parse(JSON.stringify(res.data));
......