Pārlūkot izejas kodu

Update index.tsx

lex 1 gadu atpakaļ
vecāks
revīzija
fc9c084297
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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);