Skip to content

Commit cda811d

Browse files
committed
fix: 更正默认值
1 parent 441532b commit cda811d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Ajax/AjaxOption.cs

Lines changed: 1 addition & 1 deletion
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)