(?: )?<\/div>/g, '_____');
// 处理选项 ()
workAnswerArr.forEach((it,id)=>{
const s = {
@@ -1000,6 +1000,7 @@ const updateForm= async(item, submitIndex=0, submitType=1) =>{
const pointArr = item.evalnodeid.split(',');
if (curKnowledgePointList.value.length > 0 && pointArr.length > 0) {
pointArr.forEach(element => {
+ element = element.trim();
let point = [];
if (getCurKnowledgePointToForm(point, element, curKnowledgePointList.value)) {
point = point.reverse();
@@ -1337,8 +1338,10 @@ const submitForm=(formName) =>{
const workType = questForm.worktype.replace('(主观题)', '');
// 需要对题目的单引号(设置字体)进行转义(因查询语句中模糊查询title_like单引号会报错)
- const title = questForm.title.replace(/'/g, "\\'");
- console.log(questForm,'???????????????????????')
+ const title = questForm.title
+ .replace(/'/g, "\\'")
+ .replace(/_{3,}/g, "
");
+ console.log(questForm,'???????????????????????');
let param = {
id: questForm.id, // id
thirdid: 0, // 第三方题库id SID