src/store/modules/exam.js
@@ -3,7 +3,7 @@ export const useExamStore = defineStore('exam', () => { const examInfo = ref(null); const examDetail = ref([]); const examType = ref({ 1: '单选题', 2: '多选题', @@ -69,10 +69,10 @@ answerProgress.value = progress; }; const initExam = () => { const initExam = (questionType) => { answerProgress.value = 0; currentIndex.value = 0; currentType.value = 1; currentType.value = questionType; }