Merge branch '250220-pre-126-177-gx' into test20250220

# Conflicts:
#	src/components/VideoPlayer/index.vue
This commit is contained in:
joshen
2025-03-11 10:06:37 +08:00
2 changed files with 8 additions and 6 deletions

View File

@@ -397,8 +397,12 @@ export default {
window.addEventListener("F", () => {
this.isFullscreen = this.isFullScreen();
});
window.addEventListener("ESC", () => {
this.toggleFullScreen();
this.videoDom.addEventListener("keydown", (e) => {
console.log("是否监听到");
if(e.keyCode == 27){
console.log("是否监听到 esc");
this.toggleFullScreen();
}
});
},
methods: {