mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-10 18:06:36 +08:00
NodeMVVMManagement不再是静态类,而是运行环境内部的成员。
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Serein.NodeFlow
|
||||
|
||||
// 尝试获取需要创建的节点类型
|
||||
|
||||
if (!NodeMVVMManagement.TryGetType(nodeControlType, out var nodeMVVM) || nodeMVVM.ModelType == null)
|
||||
if (!env.NodeMVVMManagement.TryGetType(nodeControlType, out var nodeMVVM) || nodeMVVM.ModelType == null)
|
||||
{
|
||||
throw new Exception($"无法创建{nodeControlType}节点,节点类型尚未注册。");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user