JXDS18FUJT пре 1 година
родитељ
комит
ed496755b9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/hooks/examTest.ts

+ 1 - 1
src/hooks/examTest.ts

@@ -518,7 +518,7 @@ export function useExamTest() {
     }
     let listIndex = ref(0);
     let wrongQuestionIndex = ref(0)
-    watch(listIndex, (newVal, oldVal) => {
+    watch(listIndex, (newVal:number, oldVal:number) => {
         if (newVal !== oldVal) {
             if (list.value[oldVal].questionType == 3) {
                 let userAnswerLetter: any[] = [];