修复死循环

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

View File

@@ -303,6 +303,10 @@ async function executePathsUsingNodeData(position, settings) {
currentNode = nextNode;
currentNodePosition = { x: nextNode.position.x, y: nextNode.position.y };
}
else{
log.info("当前路线完成,退出循环");
break;
}
}
} catch (error) {
log.error(`执行路径时出错: ${error.message}`);