Merge branch 'cherry-pick-26b54baa' into 'dev-23.02'
下钻表格问题修改:对特殊字符单引号做处理,以正确显示列表信息 See merge request cyber-narrator/cn-ui!23
This commit is contained in:
@@ -878,7 +878,7 @@ export async function getDnsMapData (type) {
|
|||||||
}
|
}
|
||||||
export function handleSpecialValue (value) {
|
export function handleSpecialValue (value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
value.replace(/\'/g, "\\\\'")
|
value = value.replace(/\'/g, "\\\\'")
|
||||||
.replace(/\"/g, '\\"')
|
.replace(/\"/g, '\\"')
|
||||||
.replace(/\&/g, '%26')
|
.replace(/\&/g, '%26')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user