FIX 路由菜单的递归错误

This commit is contained in:
sakuya 2021-07-23 23:18:43 +08:00
parent e4380f6497
commit 0908c26d5d
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@
} }
// //
if(item.children&&item.children.length > 0){ if(item.children&&item.children.length > 0){
this.filterUrl(item.children); item.children = this.filterUrl(item.children);
} }
}) })

View File

@ -257,7 +257,7 @@
} }
// //
if(item.children&&item.children.length > 0){ if(item.children&&item.children.length > 0){
this.filterUrl(item.children); item.children = this.filterUrl(item.children)
} }
newMap.push(item) newMap.push(item)
}) })