This commit is contained in:
parent
bd50a7cdf0
commit
5ac33bd1ca
|
@ -491,7 +491,7 @@ const questForm = reactive({
|
||||||
method: '',
|
method: '',
|
||||||
submitIndex: 0, // 该题对应原试题集合中的序号([单题上传]时为0, [扫描上传]为集合中的序号)
|
submitIndex: 0, // 该题对应原试题集合中的序号([单题上传]时为0, [扫描上传]为集合中的序号)
|
||||||
submitType: 0, // 该题的上传方法
|
submitType: 0, // 该题的上传方法
|
||||||
status: 1, // 该题的状态
|
status: '1', // 该题的状态
|
||||||
list:[
|
list:[
|
||||||
{
|
{
|
||||||
text:""
|
text:""
|
||||||
|
@ -1339,7 +1339,7 @@ const submitForm=(formName) =>{
|
||||||
const workType = questForm.worktype.replace('(主观题)', '');
|
const workType = questForm.worktype.replace('(主观题)', '');
|
||||||
|
|
||||||
// 需要对题目的单引号(设置字体)进行转义(因查询语句中模糊查询title_like单引号会报错)
|
// 需要对题目的单引号(设置字体)进行转义(因查询语句中模糊查询title_like单引号会报错)
|
||||||
const title = this.form.title
|
const title = questForm.title
|
||||||
.replace(/'/g, "\\'")
|
.replace(/'/g, "\\'")
|
||||||
.replace(/_{3,}/g, "<!--BA--><div class=\"quizPutTag\" contenteditable=\"true\"></div><!--EA-->");
|
.replace(/_{3,}/g, "<!--BA--><div class=\"quizPutTag\" contenteditable=\"true\"></div><!--EA-->");
|
||||||
console.log(questForm,'???????????????????????');
|
console.log(questForm,'???????????????????????');
|
||||||
|
|
Loading…
Reference in New Issue