소스 검색

Update index.tsx

lex 1 년 전
부모
커밋
fc9c084297
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/views/coursewarePlay/index.tsx

+ 5 - 0
src/views/coursewarePlay/index.tsx

@@ -263,6 +263,11 @@ export default defineComponent({
             type: 'fullscreen'
           }
         });
+
+        if (data.disableScreenRecordingFlag === '1') {
+          // 检测是否录屏
+          handleLimitScreenRecord();
+        }
         setTimeout(() => {
           data.animationState = 'end';
         }, 500);