修复一个sfc的bug

This commit is contained in:
艾竹
2023-04-16 10:10:12 +08:00
parent f05654309b
commit 5dee3a9907
10 changed files with 110 additions and 75 deletions

View File

@@ -34,6 +34,7 @@ namespace AIStudio.Wpf.DiagramDesigner
this.IsGroup = viewmodel.IsGroup;
this.ParentId = viewmodel.ParentId;
this.Text = viewmodel.Text;
this.Name = viewmodel.Name;
ColorItem = CopyHelper.Mapper<ColorItem>(viewmodel.ColorViewModel);
FontItem = CopyHelper.Mapper<FontItem, IFontViewModel>(viewmodel.FontViewModel);
@@ -64,6 +65,12 @@ namespace AIStudio.Wpf.DiagramDesigner
get; set;
}
[XmlAttribute]
public string Name
{
get; set;
}
[XmlAttribute]
public string Text
{