Compare commits

...

5 Commits

Author SHA1 Message Date
朱浩 1b504a1653 Merge branch 'main' into zhuhao_dev 2024-09-10 15:04:18 +08:00
baigl 3603c4e0f2 Merge pull request 'baigl' (#182) from baigl into main
Reviewed-on: #182
2024-09-10 14:11:05 +08:00
白了个白 cb1c3c23fe Merge branch 'main' of http://27.128.240.72:3000/zhuhao/AIx_Smarttalk into baigl 2024-09-10 14:10:10 +08:00
白了个白 de1dee7380 题目转义判断 2024-09-10 14:09:50 +08:00
朱浩 a2c962e94d Merge pull request 'zhuhao_dev' (#181) from zhuhao_dev into main
Reviewed-on: #181
2024-09-10 14:03:35 +08:00
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