EmmaBaBa hace 7 meses
padre
commit
7b2311c2ac
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/components/question-info.vue

+ 2 - 2
src/components/question-info.vue

@@ -406,8 +406,8 @@ export default {
             })
             this.aiTestClass = "el-icon-reading"
             stepMapToCnt[step]++
-            if(stepMapToCnt[step]>1){
-              stepMapToCnt[step] = 1
+            if(stepMapToCnt[step]>=mockAI[step].length){
+              stepMapToCnt[step] = mockAI[step].length-1
             }
           }, 2000)
         }