This commit is contained in:
艾竹
2023-03-28 22:09:24 +08:00
parent 43b5d82fae
commit 72da084f15
5 changed files with 73 additions and 64 deletions

View File

@@ -124,8 +124,8 @@ namespace AIStudio.Wpf.Mind.Models
public LinkInfoItem(LinkInfo linkinfo)
{
Url = linkinfo.Url;
Text = linkinfo.Text;
Url = linkinfo?.Url;
Text = linkinfo?.Text;
}
[XmlAttribute]
@@ -152,8 +152,8 @@ namespace AIStudio.Wpf.Mind.Models
public ImageInfoItem(ImageInfo imageInfo)
{
Url = imageInfo.Url;
Text = imageInfo.Text;
Url = imageInfo?.Url;
Text = imageInfo?.Text;
}
public string Url