FIX 路由菜单的递归错误
This commit is contained in:
parent
e4380f6497
commit
0908c26d5d
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
//递归循环
|
||||
if(item.children&&item.children.length > 0){
|
||||
this.filterUrl(item.children);
|
||||
item.children = this.filterUrl(item.children);
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
@ -257,7 +257,7 @@
|
|||
}
|
||||
//递归循环
|
||||
if(item.children&&item.children.length > 0){
|
||||
this.filterUrl(item.children);
|
||||
item.children = this.filterUrl(item.children)
|
||||
}
|
||||
newMap.push(item)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue