|
@@ -17,9 +17,6 @@ const formatRouter = (list) => {
|
|
|
p.children = [];
|
|
p.children = [];
|
|
|
authorities.push(p);
|
|
authorities.push(p);
|
|
|
} else {
|
|
} else {
|
|
|
- if (p.source === 2 && p.extend) {
|
|
|
|
|
- p.path = p.path + '/' + p.extend;
|
|
|
|
|
- }
|
|
|
|
|
if (p.children?.length) {
|
|
if (p.children?.length) {
|
|
|
p.children = fn(p.children);
|
|
p.children = fn(p.children);
|
|
|
} else {
|
|
} else {
|