Skip to content

Commit 035e7ac

Browse files
authored
fix(AjaxService): update ToJson default value to true (#5457)
* fix: 更正默认值 * chore: bump version 9.4.1-beta01
1 parent 441532b commit 035e7ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.4.0</Version>
4+
<Version>9.4.1-beta01</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Ajax/AjaxOption.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ public class AjaxOption
3131
/// 获得/设置 是否获得序列化 Json 结果 参数 默认为 true
3232
/// </summary>
3333
[NotNull]
34-
public bool ToJson { get; set; }
34+
public bool ToJson { get; set; } = true;
3535
}

0 commit comments

Comments
 (0)