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[] = [];