From 8c7361e8803a4a52cb1144dec576f01085d2a297 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 18 六月 2024 09:52:36 +0800 Subject: [PATCH] fix:修改多选题问题 --- src/views/exam/components/answer-main/answer-single/index.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/exam/components/answer-main/answer-single/index.vue b/src/views/exam/components/answer-main/answer-single/index.vue index 140d1b7..8f9ee44 100644 --- a/src/views/exam/components/answer-main/answer-single/index.vue +++ b/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> -- Gitblit v1.8.0