lex 2 vuotta sitten
vanhempi
commit
95ca82d897
1 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. 13 13
      src/views/coursewarePlay/index.tsx

+ 13 - 13
src/views/coursewarePlay/index.tsx

@@ -249,7 +249,7 @@ export default defineComponent({
           }
         })
         //检测是否录屏
-        handleLimitScreenRecord()
+        // handleLimitScreenRecord()
       })
     }
     const getDetail = async () => {
@@ -363,21 +363,21 @@ export default defineComponent({
       // })
 
       // 安卓
-      postMessage({
-        api: 'limitScreenRecord',
-        content: {
-          type: 1
-        }
-      })
+      // postMessage({
+      //   api: 'limitScreenRecord',
+      //   content: {
+      //     type: 1
+      //   }
+      // })
     })
 
     onBeforeUnmount(() => {
-      postMessage({
-        api: 'limitScreenRecord',
-        content: {
-          type: 0
-        }
-      })
+      // postMessage({
+      //   api: 'limitScreenRecord',
+      //   content: {
+      //     type: 0
+      //   }
+      // })
     })
 
     const playRef = ref()