Przeglądaj źródła

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

谢杰标 2 lat temu
rodzic
commit
e9a790ac5c
1 zmienionych plików z 3 dodań i 0 usunięć
  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);
         });
       });