automapper框架优化
This commit is contained in:
@@ -21,7 +21,7 @@ namespace UIShare.Converters
|
||||
return allParameters;
|
||||
|
||||
// 过滤出类型匹配的参数
|
||||
return allParameters.Cast<ParameterModel>()
|
||||
return allParameters.Cast<ParameterVM>()
|
||||
.Where(p => IsTypeMatch(currentParamType, p.Type))
|
||||
.ToList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user