pref(validators): 移除循环条件检查的最小输入条件数量

master
钟良源 3 months ago
parent 6ba685d64e
commit 2b9639f45c

@ -202,10 +202,10 @@ const validateLoopNode = (nodeData: any, nodeType: string): string[] => {
return errors; return errors;
} }
// 检查循环条件 // // 检查循环条件
if (!customDef.conditions || customDef.conditions.length === 0) { // if (!customDef.conditions || customDef.conditions.length === 0) {
errors.push('请至少添加一个循环条件'); // errors.push('请至少添加一个循环条件');
} // }
return errors; return errors;
}; };

Loading…
Cancel
Save