11wqe1 3 달 전
부모
커밋
8034150c32
4개의 변경된 파일40개의 추가작업 그리고 25개의 파일을 삭제
  1. 14 7
      src/components/easy2/studyStudent.vue
  2. 10 6
      src/components/easy3/studyStudent.vue
  3. 6 6
      src/components/studyStudent.vue
  4. 10 6
      src/components/studySutdentClass/studyStudent.vue

+ 14 - 7
src/components/easy2/studyStudent.vue

@@ -26027,13 +26027,20 @@ export default {
         this.updateToolDetail(this.toolDetailIndex);
       }
     });
-    //if (this.screenType == 2) {
-    //  window.topU.postMessage({ allScreen: 4 }, "*");
-    //} else if (this.screenType == 3) {
-    //  window.topU.postMessage({ allScreen: 5 }, "*");
-    //} else if (this.screenType == 1) {
-    //  window.topU.postMessage({ allScreen: 6 }, "*");
-    //}
+    
+    try {
+      if (this.screenType == 2) {
+        window.topU.postMessage({ allScreen: 4 }, "*");
+      } else if (this.screenType == 3) {
+        window.topU.postMessage({ allScreen: 5 }, "*");
+      } else if (this.screenType == 1) {
+        window.topU.postMessage({ allScreen: 6 }, "*");
+      }
+    } catch (error) {
+      console.log(error)
+    }
+
+
     this.setOperationTime();
     this.selectEva();
     this.getCourseDetail();

+ 10 - 6
src/components/easy3/studyStudent.vue

@@ -21382,12 +21382,16 @@ export default {
         this.updateToolDetail(this.toolDetailIndex);
       }
     });
-    if (this.screenType == 2) {
-      window.topU.postMessage({ allScreen: 4 }, "*");
-    } else if (this.screenType == 3) {
-      window.topU.postMessage({ allScreen: 5 }, "*");
-    } else if (this.screenType == 1) {
-      window.topU.postMessage({ allScreen: 6 }, "*");
+    try {
+      if (this.screenType == 2) {
+        window.topU.postMessage({ allScreen: 4 }, "*");
+      } else if (this.screenType == 3) {
+        window.topU.postMessage({ allScreen: 5 }, "*");
+      } else if (this.screenType == 1) {
+        window.topU.postMessage({ allScreen: 6 }, "*");
+      }
+    } catch (error) {
+      console.log(error)
     }
     this.setOperationTime();
     this.selectEva();

+ 6 - 6
src/components/studyStudent.vue

@@ -21416,12 +21416,12 @@ export default {
     }, 1000);
     try{
       if (this.screenType == 2) {
-      window.topU.postMessage({ allScreen: 4 }, "*");
-    } else if (this.screenType == 3) {
-      window.topU.postMessage({ allScreen: 5 }, "*");
-    } else if (this.screenType == 1) {
-      window.topU.postMessage({ allScreen: 6 }, "*");
-    }
+        window.topU.postMessage({ allScreen: 4 }, "*");
+      } else if (this.screenType == 3) {
+        window.topU.postMessage({ allScreen: 5 }, "*");
+      } else if (this.screenType == 1) {
+        window.topU.postMessage({ allScreen: 6 }, "*");
+      }
     }catch(e){
       console.log(e)
     }

+ 10 - 6
src/components/studySutdentClass/studyStudent.vue

@@ -25368,12 +25368,16 @@ export default {
         this.updateToolDetail(this.toolDetailIndex);
       }
     });
-    if (this.screenType == 2) {
-      window.topU.postMessage({ allScreen: 4 }, "*");
-    } else if (this.screenType == 3) {
-      window.topU.postMessage({ allScreen: 5 }, "*");
-    } else if (this.screenType == 1) {
-      window.topU.postMessage({ allScreen: 6 }, "*");
+    try {
+      if (this.screenType == 2) {
+        window.topU.postMessage({ allScreen: 4 }, "*");
+      } else if (this.screenType == 3) {
+        window.topU.postMessage({ allScreen: 5 }, "*");
+      } else if (this.screenType == 1) {
+        window.topU.postMessage({ allScreen: 6 }, "*");
+      }
+    } catch (error) {
+      console.log(error)
     }
     this.setOperationTime();
     this.selectEva();