Skip to content

Commit

Permalink
fix(AjaxService): update ToJson default value to true (#5457)
Browse files Browse the repository at this point in the history
* fix: 更正默认值

* chore: bump version 9.4.1-beta01
  • Loading branch information
ArgoZhang authored Feb 27, 2025
1 parent 441532b commit 035e7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.4.0</Version>
<Version>9.4.1-beta01</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/Ajax/AjaxOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ public class AjaxOption
/// 获得/设置 是否获得序列化 Json 结果 参数 默认为 true
/// </summary>
[NotNull]
public bool ToJson { get; set; }
public bool ToJson { get; set; } = true;
}

0 comments on commit 035e7ac

Please sign in to comment.