|
@@ -238,7 +238,7 @@ export default {
|
|
|
// 对比历史作答与现在提交内容是否有差异,防止切换时重复计时
|
|
|
const rawQuestion = this.paper.questions.find(q => q.questionId == target.questionId)
|
|
|
if (target.answer == rawQuestion.answer &&
|
|
|
- target.attachments.toString() == rawQuestion.attachments.toString()) {
|
|
|
+ target.attachments?.toString() == rawQuestion.attachments?.toString()) {
|
|
|
// 答题没有变化,不需要重复提交
|
|
|
this.committingQuestions.shift()
|
|
|
setTimeout(_ => this.commitQuestionCore(), 200)
|