src/views/exam/components/answer-main/answer-single/index.vue
@@ -22,11 +22,13 @@ import {useExamStore} from '@/store/index.js'; const examStore = useExamStore(); const {currentIndex,activeQuestion} = storeToRefs(examStore); const {currentType,currentIndex,activeQuestion,examDetail} = storeToRefs(examStore); const answerClick = (item) => { if(item) { resetAnswer(); item.isActive = true item.isActive = true; } }; @@ -40,6 +42,9 @@ activeQuestion.value.items.forEach(item => item.isActive = false); } const filterExam = () => { } </script>