mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-21 16:46:35 +08:00
设计了流程接口节点,能够切换本节点数据、目标节点数据,目前还有数据来源相关操作没有实现
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Serein.NodeFlow.Model
|
||||
/// <summary>
|
||||
/// 表达式
|
||||
/// </summary>
|
||||
[PropertyInfo(IsNotification = true, CustomCodeAtStart = "// ChangeName(value);")]
|
||||
[PropertyInfo(IsNotification = true)]
|
||||
private string _keyName;
|
||||
|
||||
}
|
||||
@@ -101,14 +101,7 @@ namespace Serein.NodeFlow.Model
|
||||
DataNode = null;
|
||||
}
|
||||
|
||||
private void ChangeName(string newName)
|
||||
{
|
||||
if(SereinEnv.GetFlowGlobalData(_keyName) == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
SereinEnv.ChangeNameFlowGlobalData(_keyName, newName);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设置全局数据
|
||||
|
||||
Reference in New Issue
Block a user