修改
This commit is contained in:
@@ -184,7 +184,8 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
try
|
||||
{
|
||||
return JsonConvert.DeserializeObject<List<ImageInfo>>(this.ImagePath);
|
||||
var result= JsonConvert.DeserializeObject<List<ImageInfo>>(this.ImagePath);
|
||||
return result==null?new List<ImageInfo>() : result;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user