From 8ccf0848c12460cbfb939c1f8da6e11a602eccea Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期一, 01 七月 2024 11:17:49 +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