forked from github/dataease
fix(仪表板): 修复资源列表三层以上排序失效问题
This commit is contained in:
parent
2cb7b0dbc6
commit
593ea99f65
@ -10,7 +10,7 @@ export function sortCircle(tree, hisSortType, sortType) {
|
|||||||
sortPer(tree, hisSortType, sortType)
|
sortPer(tree, hisSortType, sortType)
|
||||||
tree.forEach(node => {
|
tree.forEach(node => {
|
||||||
if (node.children && node.children.length > 0) {
|
if (node.children && node.children.length > 0) {
|
||||||
sortPer(node.children, hisSortType, sortType)
|
sortCircle(node.children, hisSortType, sortType)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return tree
|
return tree
|
||||||
|
Loading…
Reference in New Issue
Block a user