下钻表格问题修改:对特殊字符单引号做处理,以正确显示列表信息

(cherry picked from commit 26b54baa33)
This commit is contained in:
hyx
2023-03-14 15:26:12 +08:00
committed by 陈劲松
parent 4125a88bba
commit da9eeae556

View File

@@ -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')
}