Merge branch 'main' into zhuhao_dev

This commit is contained in:
朱浩 2024-09-10 15:04:18 +08:00
commit 1b504a1653
2 changed files with 6 additions and 10 deletions

View File

@ -173,12 +173,10 @@ const toolStore = useToolState()
//
const escapeHtmlQuotes = (str) => {
// replace,
return str
const regex1 = /\\+/g; //
let result = str.replace(regex1, '\\');
//
// return str.replace(/(<[^>]+>)/g, function (match) {
// return match.replace(/"/g, '\\"')
// })
return result;
}
const pollingST = ref(null) //

View File

@ -521,12 +521,10 @@ const tableRadioChange = (e) => {
//
const escapeHtmlQuotes = (str) => {
// replace,
return str
const regex1 = /\\+/g; //
let result = str.replace(regex1, '\\');
//
// return str.replace(/(<[^>]+>)/g, function (match) {
// return match.replace(/"/g, '\\"')
// })
return result;
}
//#region