BUG:数据如果带双引号会出错
This commit is contained in:
parent
3d50990047
commit
45b41ff8ea
@ -483,7 +483,7 @@ public class SysDatabaseService : IDynamicApiController, ITransient
|
||||
if (value == null) value = "null";
|
||||
else if (propType == typeof(string))
|
||||
{
|
||||
value = $"@\"{value}\"";
|
||||
value = $"@\"{value.ToString().Replace("\"", "\"\"")}\"";
|
||||
}
|
||||
else if (propType.IsEnum)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user