From 2b9639f45cf9e58e2b7fe6e7997396e1da55ba68 Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 23 Oct 2025 10:28:56 +0800 Subject: [PATCH] =?UTF-8?q?pref(validators):=20=E7=A7=BB=E9=99=A4=E5=BE=AA?= =?UTF-8?q?=E7=8E=AF=E6=9D=A1=E4=BB=B6=E6=A3=80=E6=9F=A5=E7=9A=84=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E8=BE=93=E5=85=A5=E6=9D=A1=E4=BB=B6=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FlowEditor/nodeEditors/validators/nodeValidators.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/FlowEditor/nodeEditors/validators/nodeValidators.ts b/src/components/FlowEditor/nodeEditors/validators/nodeValidators.ts index 2c15525..03fb8b8 100644 --- a/src/components/FlowEditor/nodeEditors/validators/nodeValidators.ts +++ b/src/components/FlowEditor/nodeEditors/validators/nodeValidators.ts @@ -202,10 +202,10 @@ const validateLoopNode = (nodeData: any, nodeType: string): string[] => { return errors; } - // 检查循环条件 - if (!customDef.conditions || customDef.conditions.length === 0) { - errors.push('请至少添加一个循环条件'); - } + // // 检查循环条件 + // if (!customDef.conditions || customDef.conditions.length === 0) { + // errors.push('请至少添加一个循环条件'); + // } return errors; };