林旭祥 5 mesi fa
parent
commit
60dbd4f363
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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) {