ZhangXianQiang
2024-07-01 8ccf0848c12460cbfb939c1f8da6e11a602eccea
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
  }
}