mirror of
https://gitee.com/dotnetchina/Furion.git
synced 2025-12-06 15:59:25 +08:00
😊 调整 流变对象 ClayOptions.ScalarValueKey 属性默认值:data -> value
This commit is contained in:
@@ -74,7 +74,8 @@ public sealed class ClayOptions
|
||||
/// <summary>
|
||||
/// 配置用于包裹非对象和非数组类型的键名
|
||||
/// </summary>
|
||||
public string ScalarValueKey { get; set; } = "data";
|
||||
/// <remarks>默认值为:<c>value</c>。</remarks>
|
||||
public string ScalarValueKey { get; set; } = "value";
|
||||
|
||||
/// <summary>
|
||||
/// 是否允许访问不存在的属性
|
||||
|
||||
@@ -74,7 +74,8 @@ public sealed class ClayOptions
|
||||
/// <summary>
|
||||
/// 配置用于包裹非对象和非数组类型的键名
|
||||
/// </summary>
|
||||
public string ScalarValueKey { get; set; } = "data";
|
||||
/// <remarks>默认值为:<c>value</c>。</remarks>
|
||||
public string ScalarValueKey { get; set; } = "value";
|
||||
|
||||
/// <summary>
|
||||
/// 是否允许访问不存在的属性
|
||||
|
||||
Reference in New Issue
Block a user