mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-14 21:46:35 +08:00
重新设计了@get 表达式,修改了 Workbench后台长时间运行时,重新切换到前台会产生参数连接线错误显示的问题
This commit is contained in:
@@ -146,10 +146,11 @@ namespace Serein.NodeFlow.Model
|
||||
}
|
||||
}
|
||||
|
||||
bool judgmentResult = false;
|
||||
try
|
||||
{
|
||||
var isPass = SereinConditionParser.To(parameter, Expression);
|
||||
context.NextOrientation = isPass ? ConnectionInvokeType.IsSucceed : ConnectionInvokeType.IsFail;
|
||||
judgmentResult = SereinConditionParser.To(parameter, Expression);
|
||||
context.NextOrientation = judgmentResult ? ConnectionInvokeType.IsSucceed : ConnectionInvokeType.IsFail;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -158,7 +159,8 @@ namespace Serein.NodeFlow.Model
|
||||
}
|
||||
|
||||
SereinEnv.WriteLine(InfoType.INFO, $"{result} {Expression} -> " + context.NextOrientation);
|
||||
return result;
|
||||
//return result;
|
||||
return judgmentResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user