人生啊人生 há 2 meses atrás
pai
commit
85a2272afc

+ 3 - 3
src/components/ThreeWorldEventQingXiCheAndQv/QingXiCheAndQvMain.vue

@@ -147,9 +147,9 @@ watch(
  */
 const QingXiCheEventInit = () => {
 
-    // if (CommonVal().loadSuccess == false) {
-    //     return;
-    // }
+    if (CommonVal().loadSuccess == false) {
+        return;
+    }
 
     ComReturnCallbackExit();
     // console.log("初始化 清洗车 的逻辑 ===>");

+ 0 - 8
src/view/student/trainMain/trainMain.vue

@@ -44,14 +44,6 @@ const itemClick = (type: 'training' | 'report' | 'report_share') => {
     if (type == 'training') {
 
         console.log("实训学习跳转");
-        
-        // /**
-        //  * 由于 router.push 跳转页面,会导致来回切换三维场景存留一些其他参数
-        //  * 导致第一次进入三维界面是正常的,退回,切换回来,三维场景会出现报错
-        //  * 所以,这里切换到三维场景,要进行整个页面刷新一下
-        //  * 就可以解决这个问题,让它正常运行
-        //  */
-        // window.location.href = "index.html#/" + `train/chapter/${state.taskId}/${state.trainSelf.id}`
 
         router.push({ path: `/train/chapter/${state.taskId}/${state.trainSelf.id}` })
         .then(() => {