fix(AjaxService): update ToJson default value to true (#5457)

* fix: 更正默认值

* chore: bump version 9.4.1-beta01
This commit is contained in:
Argo Zhang
2025-02-27 11:47:48 +08:00
committed by GitHub
parent 441532bf13
commit 035e7ac641
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>9.4.0</Version>
<Version>9.4.1-beta01</Version>
</PropertyGroup>
<ItemGroup>

View File

@@ -31,5 +31,5 @@ public class AjaxOption
/// 获得/设置 是否获得序列化 Json 结果 参数 默认为 true
/// </summary>
[NotNull]
public bool ToJson { get; set; }
public bool ToJson { get; set; } = true;
}