From 66429a0bdd577f09e6c847217ae5979541e53c3b Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 24 五月 2022 21:22:51 +0800 Subject: [PATCH] 退出集群添加提示 --- src/components/wasmPlayer/wasm/webgl.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/wasmPlayer/wasm/webgl.js b/src/components/wasmPlayer/wasm/webgl.js index 7d2c0cf..b28af6a 100644 --- a/src/components/wasmPlayer/wasm/webgl.js +++ b/src/components/wasmPlayer/wasm/webgl.js @@ -159,7 +159,7 @@ } WebGLPlayer.prototype.fullscreen = function() { - var canvas = this.canvas + let canvas = this.canvas.parentNode.parentNode.parentNode if (canvas.RequestFullScreen) { canvas.RequestFullScreen() } else if (canvas.webkitRequestFullScreen) { -- Gitblit v1.8.0