From ab2adfde80b60b1304dd0c5b3874eb6518d9cad8 Mon Sep 17 00:00:00 2001 From: fengjiayi <12821976+ning_xi@user.noreply.gitee.com> Date: Sat, 26 Jul 2025 19:42:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=BF=87Emit=E4=BC=98=E5=8C=96Script?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E7=9A=84=E8=A7=A3=E9=87=8A=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=EF=BC=9B=E5=87=BA=E4=BA=8E=E5=90=8E=E6=9C=9F=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E5=90=91=EF=BC=8C=E6=9A=82=E6=97=B6=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E8=A1=A8=E8=BE=BE=E5=BC=8F=E8=8A=82=E7=82=B9=E3=80=81?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E8=A1=A8=E8=BE=BE=E5=BC=8F=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E3=80=81=E5=85=A8=E5=B1=80=E6=95=B0=E6=8D=AE=E8=8A=82=E7=82=B9?= =?UTF-8?q?=EF=BC=9B=E6=B5=81=E7=A8=8B=E5=9B=BE=E8=BD=ACc#=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=96=B0=E5=A2=9E=E5=AF=B9=E4=BA=8EScript=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E6=94=AF=E6=8C=81=EF=BC=8CScript=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E7=8E=B0=E5=9C=A8=E5=8F=AF=E4=BB=A5=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=B8=BAC#=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NodeFlow/Services/FlowCoreGenerateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeFlow/Services/FlowCoreGenerateService.cs b/NodeFlow/Services/FlowCoreGenerateService.cs index 2390640..ebe9c19 100644 --- a/NodeFlow/Services/FlowCoreGenerateService.cs +++ b/NodeFlow/Services/FlowCoreGenerateService.cs @@ -1391,8 +1391,8 @@ namespace Serein.NodeFlow.Services sb.AppendCode(3, $"{{"); sb.AppendCode(4, $"return null;"); sb.AppendCode(3, $"}}"); + sb.AppendCode(3, $"else", isWrapping :false); } - sb.AppendCode(3, $"if ({flowResult}.{nameof(FlowResult.Value)} is global::{ReturnType.FullName} result)"); sb.AppendCode(3, $"{{"); sb.AppendCode(4, $"return result;");