林旭祥 hai 5 meses
pai
achega
60dbd4f363
Modificáronse 1 ficheiros con 3 adicións e 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) {