还原处理
This commit is contained in:
@@ -26,6 +26,7 @@ const insert = ({table, form}) => {
|
|||||||
if (v) {
|
if (v) {
|
||||||
if (typeof v == "object") {
|
if (typeof v == "object") {
|
||||||
v = JSON.stringify(v)
|
v = JSON.stringify(v)
|
||||||
|
v = v.replace(/(')/g, "\\$1")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return `${e}='${v}'`
|
return `${e}='${v}'`
|
||||||
|
|||||||
Reference in New Issue
Block a user