人生啊人生 3 mesi fa
parent
commit
31d6de6c76
1 ha cambiato i file con 14 aggiunte e 3 eliminazioni
  1. 14 3
      user_web/src/view/student/trainChapter/trainChapter.vue

+ 14 - 3
user_web/src/view/student/trainChapter/trainChapter.vue

@@ -84,7 +84,12 @@
                         (
                             threeWorldLoadType == 'qv'
                             || threeWorldLoadType == 'sonar'
-                        ) && stepTipsBool == true
+                        ) && stepTipsBool == true && stepThreeWorldEndOk == false
+                    ) || (
+                        (
+                            threeWorldLoadType == 'qv'
+                            || threeWorldLoadType == 'sonar'
+                        ) && stepThreeWorldEndOk == true
                     )
                 "
                 :msg="state.tipsMsg"
@@ -202,7 +207,7 @@ let stepTipsBool = ref(true);
  * 当前三维是否都完成指定任务
  * 如果完成任务了,则显示 stepTipsBool 的UI
  */
-let stepThreeWorld = ref(false);
+let stepThreeWorldEndOk = ref(false);
 // 控制左侧UI .menu-box 是否展示
 let menuBoxOpen = ref(true);
 
@@ -492,7 +497,7 @@ watch(
             else if (state.currentChapter.type == 10) {
                 stepTipsBool.value = true;
                 menuBoxOpen.value = true;
-                stepThreeWorld.value = false;
+                stepThreeWorldEndOk.value = false;
             }
         }
         
@@ -811,6 +816,12 @@ const callbackProcessUpdateQvEvent = (db : any) => {
         menuBoxOpen.value = true;
     }
 
+    if (db == '已完成所有任务') {
+        stepThreeWorldEndOk.value = true;
+    } else {
+        stepThreeWorldEndOk.value = false;
+    }
+
 }
 
 </script>