mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-23 01:26:34 +08:00
解决了接口节点的参数共享,UI控件的Menu菜单事件穿透问题,同时优化了工作台画布流程相关事件的部分代码
This commit is contained in:
@@ -248,7 +248,8 @@ namespace Serein.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
inputParameter = context.GetFlowData(previousNode).Value; // 当前传递的数据
|
||||
var flowData = context.GetFlowData(previousNode);
|
||||
inputParameter = flowData.Value; // 当前传递的数据
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -259,7 +260,16 @@ namespace Serein.Library
|
||||
}
|
||||
if (ArgDataSourceType == ConnectionArgSourceType.GetOtherNodeData)
|
||||
{
|
||||
inputParameter = context.GetFlowData(argSourceNodeModel).Value;
|
||||
var flowData = context.GetFlowData(argSourceNodeModel);
|
||||
if(flowData is null)
|
||||
{
|
||||
inputParameter = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
inputParameter = flowData.Value;
|
||||
}
|
||||
}
|
||||
else if (ArgDataSourceType == ConnectionArgSourceType.GetOtherNodeDataOfInvoke)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user