mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-20 08:16:34 +08:00
修改了远程环境的节点加载流程、容器节点子节点的位置关系
This commit is contained in:
@@ -54,8 +54,19 @@ namespace Serein.NodeFlow.Model
|
||||
|
||||
public void PlaceNode(NodeModelBase nodeModel)
|
||||
{
|
||||
_ = this.Env.RemoveNodeAsync(DataNode?.Guid);
|
||||
DataNode = nodeModel;
|
||||
// 全局数据节点只有一个子控件
|
||||
if (DataNode is not null)
|
||||
{
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
await this.Env.RemoveNodeAsync(DataNode?.Guid);
|
||||
DataNode = nodeModel;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
DataNode = nodeModel;
|
||||
}
|
||||
}
|
||||
|
||||
public void TakeOutAll()
|
||||
|
||||
Reference in New Issue
Block a user