From 8dcefe8c0bd312f5efa70d2c37afcfefa2759d7b Mon Sep 17 00:00:00 2001 From: zhangzhanwei Date: Wed, 24 Dec 2025 18:08:49 +0800 Subject: [PATCH] fix: Spell error --- ui/src/components/folder-tree/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/folder-tree/index.vue b/ui/src/components/folder-tree/index.vue index ba0296196..adbddd5ad 100644 --- a/ui/src/components/folder-tree/index.vue +++ b/ui/src/components/folder-tree/index.vue @@ -279,8 +279,8 @@ function addOrderToTree(nodes: any, parentId: string): Node[] { nodes.forEach((node: any) => { if (positions[node.id] === undefined) { - const existingPostions: any = Object.values(positions) - const maxPos = existingPostions.length > 0 ? Math.max(...existingPostions) : 0 + const existingPositions: any = Object.values(positions) + const maxPos = existingPositions.length > 0 ? Math.max(...existingPositions) : 0 positions[node.id] = maxPos + encode(1, 0) needSave = true