@@ -27,6 +27,10 @@ const formatRouter = (list) => {
authorities.push(p);
p.hide = true;
}
+ //报表菜单
+ if (p.source === 2 && p.extend) {
+ p.path = p.path + '/' + p.extend;
+ }
// else {
if (p.children?.length) {
p.children = fn(p.children, curPath);