mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 16:26:34 +08:00
优化了脚本生成AST时的代码提示,增加了脚本运行时错误提示。
This commit is contained in:
@@ -50,6 +50,11 @@ namespace Serein.Workbench.Services
|
||||
/// </summary>
|
||||
public Action<MethodDetailsInfo> OnViewMethodDetailsInfoChanged { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// FlowCanvasView 监听,需要移除连接线(控件)
|
||||
/// </summary>
|
||||
public Action<NodeConnectChangeEventArgs> OnRemoveConnectionLine { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region 创建节点相关的属性
|
||||
@@ -244,8 +249,11 @@ namespace Serein.Workbench.Services
|
||||
_ => null
|
||||
};
|
||||
|
||||
/*if(e.ChangeType == NodeConnectChangeEventArgs.ConnectChangeType.Remove)
|
||||
{
|
||||
OnRemoveConnectionLine.Invoke(e); // 删除连线
|
||||
}*/
|
||||
action?.Invoke();
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
@@ -408,7 +416,6 @@ namespace Serein.Workbench.Services
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user