From 5ac33bd1ca253b668b31eea9ebc4857ba5e9b46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Fri, 22 Nov 2024 09:53:15 +0800 Subject: [PATCH] 1 --- .../newClassTaskAssign/questionUpload/quesItem/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue index 856350e..f8e6452 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue @@ -491,7 +491,7 @@ const questForm = reactive({ method: '', submitIndex: 0, // 该题对应原试题集合中的序号([单题上传]时为0, [扫描上传]为集合中的序号) submitType: 0, // 该题的上传方法 - status: 1, // 该题的状态 + status: '1', // 该题的状态 list:[ { text:"" @@ -1339,7 +1339,7 @@ const submitForm=(formName) =>{ const workType = questForm.worktype.replace('(主观题)', ''); // 需要对题目的单引号(设置字体)进行转义(因查询语句中模糊查询title_like单引号会报错) - const title = this.form.title + const title = questForm.title .replace(/'/g, "\\'") .replace(/_{3,}/g, "
"); console.log(questForm,'???????????????????????');