From 3a719d83620761d714fac9613d15ad02fd258fe5 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 01 七月 2024 13:55:36 +0800
Subject: [PATCH] fix:修改填空题问题
---
src/views/exam/components/answer-sheet/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/exam/components/answer-sheet/index.vue b/src/views/exam/components/answer-sheet/index.vue
index fef8708..3ed9e44 100644
--- a/src/views/exam/components/answer-sheet/index.vue
+++ b/src/views/exam/components/answer-sheet/index.vue
@@ -28,7 +28,7 @@
const itemClass = (question,type,index) => {
return {
- answer: question.correct,
+ answer: question.answer || (question.answerList && question.answerList.length),
active: currentType.value === type && currentIndex.value === index
}
}
--
Gitblit v1.8.0