lsc 3 недель назад
Родитель
Сommit
43a8604def

+ 4 - 0
src/components/easy2/studyStudent.vue

@@ -20021,6 +20021,10 @@ export default {
                   }
                 } else if (data.type == 8 && a[i].tool[0] == 45) {
                   var checkL = JSON.parse(data.content)[0].anwer;
+                  if(a[i].testJson.testCount != JSON.parse(data.content)[0].testJson.testCount){
+                    continue
+                  }
+                  console.log('选择题')
                   for (var z = 0; z < checkL.length; z++) {
                     if (!this.checkJson[i][z]) {
                       this.checkJson[i].push({

+ 4 - 0
src/components/easy3/studyStudent.vue

@@ -15524,6 +15524,10 @@ export default {
                   }
                 } else if (data.type == 8 && a[i].tool[0] == 45) {
                   var checkL = JSON.parse(data.content)[0].anwer;
+                  if(a[i].testJson.testCount != JSON.parse(data.content)[0].testJson.testCount){
+                    continue
+                  }
+                  console.log('选择题')
                   for (var z = 0; z < checkL.length; z++) {
                     if (!this.checkJson[i][z]) {
                       this.checkJson[i].push({

+ 4 - 0
src/components/studyStudent.vue

@@ -15450,6 +15450,10 @@ export default {
                   }
                 } else if (data.type == 8 && a[i].tool[0] == 45) {
                   var checkL = JSON.parse(data.content)[0].anwer;
+                  if(a[i].testJson.testCount != JSON.parse(data.content)[0].testJson.testCount){
+                    continue
+                  }
+                  console.log('选择题')
                   for (var z = 0; z < checkL.length; z++) {
                     if (!this.checkJson[i][z]) {
                       this.checkJson[i].push({

+ 4 - 0
src/components/studySutdentClass/studyStudent.vue

@@ -19496,6 +19496,10 @@ export default {
                   }
                 } else if (data.type == 8 && a[i].tool[0] == 45) {
                   var checkL = JSON.parse(data.content)[0].anwer;
+                  if(a[i].testJson.testCount != JSON.parse(data.content)[0].testJson.testCount){
+                    continue
+                  }
+                  console.log('选择题')
                   for (var z = 0; z < checkL.length; z++) {
                     if (!this.checkJson[i][z]) {
                       this.checkJson[i].push({