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