Commit 4f59ae3d authored by liudong1993's avatar liudong1993

1

parent 4764f52c
......@@ -135,6 +135,7 @@ namespace Mall.Module.Miai
if (!string.IsNullOrEmpty(item.BrandImg))
{
item.BrandImgList = JsonHelper.DeserializeObject<List<AssessBrandImg>>(item.BrandImg);
item.BrandImgList = item.BrandImgList.Where(x => !string.IsNullOrEmpty(x.Name)).ToList();
}
}
}
......@@ -157,6 +158,7 @@ namespace Mall.Module.Miai
if (!string.IsNullOrEmpty(item.BrandImg))
{
item.BrandImgList = JsonHelper.DeserializeObject<List<AssessBrandImg>>(item.BrandImg);
item.BrandImgList = item.BrandImgList.Where(x => !string.IsNullOrEmpty(x.Name)).ToList();
}
}
}
......@@ -175,6 +177,7 @@ namespace Mall.Module.Miai
if (!string.IsNullOrEmpty(model.BrandImg))
{
model.BrandImgList = JsonHelper.DeserializeObject<List<AssessBrandImg>>(model.BrandImg);
model.BrandImgList = model.BrandImgList.Where(x => !string.IsNullOrEmpty(x.Name)).ToList();
}
model.CategoryName = assess_CategoryRepository.GetEntity(model.CategoryId)?.Name ?? "";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment