退出全屏

This commit is contained in:
joshen
2025-03-10 11:18:16 +08:00
parent 0f3c53cb31
commit 1dad88c59b

View File

@@ -540,6 +540,7 @@ export default {
/* 切换“全屏”和“非全屏”模式
*/
toggleFullScreen() {
console.log("Toggling full screen esc 退出全屏")
let element = this.$refs.area;
if (!this.isFullScreen()) {
if (element.requestFullscreen) {