zhuhao_dev #183

Merged
zhuhao merged 2 commits from zhuhao_dev into main 2024-09-10 15:04:52 +08:00
2 changed files with 6 additions and 10 deletions
Showing only changes of commit 1b504a1653 - Show all commits

View File

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

View File

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