Merge branch 'v2' of https://code.adminnet.top/Admin.NET/Admin.NET.Pro into v2
This commit is contained in:
commit
9f18a5e7e5
@ -483,7 +483,7 @@ public class SysDatabaseService : IDynamicApiController, ITransient
|
|||||||
if (value == null) value = "null";
|
if (value == null) value = "null";
|
||||||
else if (propType == typeof(string))
|
else if (propType == typeof(string))
|
||||||
{
|
{
|
||||||
value = $"@\"{value}\"";
|
value = $"@\"{value.ToString().Replace("\"", "\"\"")}\"";
|
||||||
}
|
}
|
||||||
else if (propType.IsEnum)
|
else if (propType.IsEnum)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user