林旭祥 hace 5 meses
padre
commit
60dbd4f363
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/components/MultipleItem/index.vue

+ 3 - 1
src/components/MultipleItem/index.vue

@@ -523,7 +523,9 @@ watch(() => resultId.value, (newVal, oldVal) => {
 */
 watch(() => props.examState, (newVal, oldVal) => {
   if (newVal == 3 && examState.value == 43) {
-    initProject();
+    setTimeout(() => {
+      initProject();
+    }, 10000)
   }
   //父状态已经进入41了就不要等子组件40清空数据了
   if (newVal == 41) {