修改静音显示

master
于肖磊 2026-01-06 15:22:37 +08:00
parent 8cdb5b8cea
commit 46ae2e2dcd
1 changed files with 2 additions and 0 deletions

View File

@ -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: {
/**
* 点击视频区域处理函数