|
@@ -107,7 +107,7 @@
|
|
|
<div
|
|
|
:class="['question-score', { 'is-problem': question.problem }]"
|
|
|
>
|
|
|
- <span v-if="question.problem"> 问题卷 </span>
|
|
|
+ <span v-if="question.problem" key="problem"> 问题卷 </span>
|
|
|
<span
|
|
|
v-else
|
|
|
:key="markStore.currentTask?.markResult?.scoreList[index] || 0"
|
|
@@ -163,7 +163,7 @@
|
|
|
</qm-button>
|
|
|
|
|
|
<qm-button
|
|
|
- v-if="markStore.currentQuestion.problem"
|
|
|
+ v-if="markStore.currentQuestion?.problem"
|
|
|
class="board-clear"
|
|
|
@click="cancelProblem"
|
|
|
>
|
|
@@ -368,17 +368,6 @@ function cancelProblem() {
|
|
|
markStore.currentQuestion.problem = false;
|
|
|
markStore.currentQuestion.problemType = "";
|
|
|
markStore.currentQuestion.problemRemark = "";
|
|
|
-
|
|
|
- console.log("cancelProblem currentQuestion:", markStore.currentQuestion);
|
|
|
-
|
|
|
- // const markResult = markStore.currentTask.markResult;
|
|
|
- // markResult.questionList.forEach((item) => {
|
|
|
- // if (item.questionId === markStore.currentQuestion.questionId) {
|
|
|
- // item.problem = false;
|
|
|
- // item.problemType = "";
|
|
|
- // item.problemRemark = "";
|
|
|
- // }
|
|
|
- // });
|
|
|
}
|
|
|
|
|
|
let keyPressTimestamp = 0;
|