退出全屏 ,需要水印10

This commit is contained in:
gengxin
2025-03-11 11:29:14 +08:00
parent 1bf9398177
commit 6536e36857

View File

@@ -618,9 +618,8 @@ export default {
* 监听全屏变化
*/
handleFullscreenChange() {
if(this.isFullScreen()){
console.log("handleFullscreenChange gx this.isFullScreen()",this.isFullScreen())
if(!this.isFullScreen()){
this.isFullscreen = !!document.fullscreenElement;
if (!this.isFullscreen) {
// 退出全屏后的逻辑(如暂停视频、更新 UI 等)