忘记改啥了*1

This commit is contained in:
fengjiayi
2024-11-02 16:48:40 +08:00
parent 0088d32f12
commit cd1642dcf7
45 changed files with 1022 additions and 447 deletions

View File

@@ -21,7 +21,7 @@ namespace Serein.Workbench.Node.ViewModel
/// <summary>
/// 自定义参数值
/// </summary>
public object? CustomData
public string? CustomData
{
get => NodeModel.CustomData;
set { NodeModel.CustomData = value ; OnPropertyChanged(); }
@@ -42,9 +42,12 @@ namespace Serein.Workbench.Node.ViewModel
public ConditionNodeControlViewModel(SingleConditionNode node) : base(node)
{
this.NodeModel = node;
IsCustomData = false;
CustomData = "";
Expression = "PASS";
if(node is null)
{
IsCustomData = false;
CustomData = "";
Expression = "PASS";
}
}
}