人生啊人生 10 ヶ月 前
コミット
d9ad5ff6cc

+ 0 - 2
src/components/student/CourseChapter3d.vue

@@ -180,8 +180,6 @@ const initScene = () => {
 
     TypeEvent.find().typeEvent(props.config?.threeDimensionalConfig);
     
-
-
     // // @ts-ignore
     // threeWorld().obj.newIframe.cameraVisualAngleGetListNameGpsTo("检测车");
     // // @ts-ignore

+ 6 - 3
src/components/student/ThreeWorldEvent/event/TypeEvent.ts

@@ -67,9 +67,12 @@ export class TypeEvent {
             type
         );
 
-        // if () {
+        if (typeof type != 'string' && type != '' && type != ' ' && type != '  ') {
+            this.storesObj.courseChapter3dShow.show.threeWorldMask = false;
+            return this;
+        }
 
-        // }
+        this.storesObj.courseChapter3dShow.show.threeWorldMask = true;
         
         switch(type) {
 
@@ -92,7 +95,7 @@ export class TypeEvent {
     }
     
 
-    
+