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

This commit is contained in:
hyx
2023-03-14 15:26:12 +08:00
parent 5536ac9490
commit 26b54baa33

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