修复死循环

This commit is contained in:
秋云
2025-05-05 09:39:40 +08:00
parent e4cd2ceea4
commit 971205c8a6

View File

@@ -302,6 +302,10 @@ async function executePathsUsingNodeData(position, settings) {
// 更新当前节点为下一个节点,继续检查
currentNode = nextNode;
currentNodePosition = { x: nextNode.position.x, y: nextNode.position.y };
}
else{
log.info("当前路线完成,退出循环");
break;
}
}
} catch (error) {