| | |
| | | import { ref,computed } from 'vue'; |
| | | import { storeToRefs } from 'pinia'; |
| | | import ExamInfo from '@/components/ExamInfo/index.vue'; |
| | | import { useExamStore } from '@/store/index.js'; |
| | | const examStore = useExamStore(); |
| | | import { useGradeStore } from '@/store/index.js'; |
| | | const gradeStore = useGradeStore(); |
| | | |
| | | |
| | | const { currentType, currentIndex } = storeToRefs(useGradeStore); |
| | | |
| | | const { currentType, currentIndex } = storeToRefs(examStore); |
| | | |
| | | const activeQuestion = ref(examStore.getActiveQuestion); |
| | | const activeQuestion = ref(examStore.useGradeStore); |
| | | |
| | | |
| | | const answerState = (item,index) => { |