diff --git a/core/frontend/src/utils/treeSortUtils.js b/core/frontend/src/utils/treeSortUtils.js index 7c21ead6c5..5c0699bb91 100644 --- a/core/frontend/src/utils/treeSortUtils.js +++ b/core/frontend/src/utils/treeSortUtils.js @@ -10,7 +10,7 @@ export function sortCircle(tree, hisSortType, sortType) { sortPer(tree, hisSortType, sortType) tree.forEach(node => { if (node.children && node.children.length > 0) { - sortPer(node.children, hisSortType, sortType) + sortCircle(node.children, hisSortType, sortType) } }) return tree