Browse Source

Merge pull request #7041 from abpframework/auto-merge/rel-4-1/45

Merge branch dev with rel-4.1
pull/7054/head
liangshiwei 6 years ago
committed by GitHub
parent
commit
7a6a1454b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingJsFuncHelper.cs

7
framework/src/Volo.Abp.Http/Volo/Abp/Http/ProxyScripting/Generators/ProxyScriptingJsFuncHelper.cs

@ -123,10 +123,9 @@ namespace Volo.Abp.Http.ProxyScripting.Generators
sb.AppendLine("{");
foreach (var prm in parameters)
{
sb.AppendLine($"{new string(' ', indent)} '{prm.Name}': {GetParamNameInJsFunc(prm)}");
}
sb.AppendLine(parameters
.Select(prm => $"{new string(' ', indent)} '{prm.Name}': {GetParamNameInJsFunc(prm)}")
.JoinAsString(", " + Environment.NewLine));
sb.Append(new string(' ', indent) + "}");

Loading…
Cancel
Save