Browse Source

处理全屏播放完自动退出全屏

谢杰标 2 năm trước cách đây
mục cha
commit
e9a790ac5c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/pages/course-detail/index.vue

+ 3 - 0
src/pages/course-detail/index.vue

@@ -6014,6 +6014,9 @@ export default {
             message: "播放完毕",
           });
           this.dialogPalyVisible = true;
+          if (this.isFullScreen()) {
+            this.exitFullscreen();
+          }
           this.postStudyRecord(1);
         });
       });