From 593ea99f65278352e487e1f5a70eac8482b0adc0 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 29 Apr 2024 18:35:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=B5=84=E6=BA=90=E5=88=97=E8=A1=A8=E4=B8=89=E5=B1=82?= =?UTF-8?q?=E4=BB=A5=E4=B8=8A=E6=8E=92=E5=BA=8F=E5=A4=B1=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/utils/treeSortUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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