diff --git a/pages/plugins/live/pull/components/video/video.vue b/pages/plugins/live/pull/components/video/video.vue index 6a34031f..5de331f7 100644 --- a/pages/plugins/live/pull/components/video/video.vue +++ b/pages/plugins/live/pull/components/video/video.vue @@ -60,12 +60,14 @@ this.windowWidth = data.windowWidth; this.windowHeight = data.windowHeight; }, + // #ifdef H5 mounted() { window.addEventListener('click', this.click_video); }, beforeDestroy() { window.removeEventListener('click', this.click_video); }, + //#endif methods: { /** * 点击视频区域处理函数