mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-14 20:06:34 +08:00
修复了BUG:流程上下文无法入参
This commit is contained in:
@@ -190,12 +190,12 @@ namespace Serein.Library
|
||||
var env = nodeModel.Env;
|
||||
#region 显然的流程基本类型
|
||||
// 返回运行环境
|
||||
if (DataType == typeof(IFlowEnvironment))
|
||||
if (typeof(IFlowEnvironment).IsAssignableFrom(DataType))
|
||||
{
|
||||
return env;
|
||||
}
|
||||
// 返回流程上下文
|
||||
if (DataType == typeof(IDynamicContext))
|
||||
if (typeof(IDynamicContext).IsAssignableFrom(DataType))
|
||||
{
|
||||
return context;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user