fuliqi
2024-07-08 8296816e95bc4c4cba378d2e4bc4d0e1d2d14f90
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;
  }