Browse Source

改基类bug

dev_DY_CC
刘云峰 1 year ago
parent
commit
504bbb2894
  1. 2
      be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Extensions/ObjectMapperExtensions.cs

2
be/Modules/Shared/src/Win_in.Sfs.Shared.Application/Extensions/ObjectMapperExtensions.cs

@ -79,7 +79,7 @@ public static class ObjectMapperExtensions
protected override void SetValue(object source, object target, PropertyInfo sp, PropertyInfo tp) protected override void SetValue(object source, object target, PropertyInfo sp, PropertyInfo tp)
{ {
if (sp.PropertyType != typeof(string) && if (sp.PropertyType != typeof(string) &&
sp.PropertyType != typeof(string) && tp.PropertyType != typeof(string) &&
sp.PropertyType.IsAssignableTo(typeof(IList)) && sp.PropertyType.IsAssignableTo(typeof(IList)) &&
tp.PropertyType.IsAssignableTo(typeof(IList))) tp.PropertyType.IsAssignableTo(typeof(IList)))
{ {

Loading…
Cancel
Save