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