Compare commits
No commits in common. "1b504a1653d044046c4aa66e7766b32e25d7d126" and "85c61ca802015c736a0a5b50304b0833a6af1747" have entirely different histories.
1b504a1653
...
85c61ca802
|
@ -173,10 +173,12 @@ const toolStore = useToolState()
|
|||
// 将标签中的双引号增加转义
|
||||
const escapeHtmlQuotes = (str) => {
|
||||
// 后端已replace双引号, 故前端不用在处理
|
||||
const regex1 = /\\+/g; // 匹配多个反斜杠
|
||||
let result = str.replace(regex1, '\\');
|
||||
return str
|
||||
|
||||
return result;
|
||||
// 只对双引号进行转义
|
||||
// return str.replace(/(<[^>]+>)/g, function (match) {
|
||||
// return match.replace(/"/g, '\\"')
|
||||
// })
|
||||
}
|
||||
const pollingST = ref(null) //轮询定时器标识
|
||||
|
||||
|
|
|
@ -521,10 +521,12 @@ const tableRadioChange = (e) => {
|
|||
// 将标签中的双引号增加转义
|
||||
const escapeHtmlQuotes = (str) => {
|
||||
// 后端已replace双引号, 故前端不用在处理
|
||||
const regex1 = /\\+/g; // 匹配多个反斜杠
|
||||
let result = str.replace(regex1, '\\');
|
||||
return str
|
||||
|
||||
return result;
|
||||
// 只对双引号进行转义
|
||||
// return str.replace(/(<[^>]+>)/g, function (match) {
|
||||
// return match.replace(/"/g, '\\"')
|
||||
// })
|
||||
}
|
||||
|
||||
//#region 作业概况
|
||||
|
|
Loading…
Reference in New Issue