Ver Fonte

接口修改

JXDS18FUJT há 1 ano atrás
pai
commit
ed496755b9
1 ficheiros alterados com 1 adições e 1 exclusões
  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[] = [];