fix(sj_1.2.0-beta1): 修复条件表达式校验问题

This commit is contained in:
xlsea 2024-07-23 16:10:39 +08:00
parent 8b1c171e0e
commit bbea3d5cca

View File

@ -83,7 +83,7 @@ const checkNodeExpression = async () => {
} }
const { error, data } = await fetchCheckNodeExpression(form.value.decision!); const { error, data } = await fetchCheckNodeExpression(form.value.decision!);
if (!error) { if (!error) {
if (data.key !== 1) { if (data.key !== 1 || !data.value) {
nodeExpressionFeedback.value = data.value || '请检查条件表达式'; nodeExpressionFeedback.value = data.value || '请检查条件表达式';
return; return;
} }