diff --git a/src/utils/tools.js b/src/utils/tools.js index 00f4bcc6..e4663b59 100644 --- a/src/utils/tools.js +++ b/src/utils/tools.js @@ -878,7 +878,7 @@ export async function getDnsMapData (type) { } export function handleSpecialValue (value) { if (value) { - value.replace(/\'/g, "\\\\'") + value = value.replace(/\'/g, "\\\\'") .replace(/\"/g, '\\"') .replace(/\&/g, '%26') }