From ca5b635736db32c61ee6e2ff319cff54c824a98d Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 01 七月 2024 11:12:23 +0800
Subject: [PATCH] fix:认证问题
---
src/views/exam/components/answer-sheet/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/exam/components/answer-sheet/index.vue b/src/views/exam/components/answer-sheet/index.vue
index ad89f1e..2a7628b 100644
--- a/src/views/exam/components/answer-sheet/index.vue
+++ b/src/views/exam/components/answer-sheet/index.vue
@@ -17,7 +17,7 @@
</template>
<script setup>
-import { ref,watchEffect } from 'vue';
+import { ref } from 'vue';
import {storeToRefs} from 'pinia';
import {useExamStore} from '@/store/index.js';
const examStore = useExamStore();
@@ -28,7 +28,7 @@
const itemClass = (question,type,index) => {
return {
- answer: question.correct,
+ answer: question.answer || question.answerList,
active: currentType.value === type && currentIndex.value === index
}
}
--
Gitblit v1.8.0