修复视频播放返回按钮显示隐藏问题

This commit is contained in:
YeMingfei666 2025-01-14 10:54:20 +08:00
parent acf20d8f71
commit 8622f3c4de
2 changed files with 4 additions and 3 deletions

View File

@ -199,7 +199,7 @@
// #ifdef H5 // #ifdef H5
emits('controlstoggles', { emits('controlstoggles', {
detail: { detail: {
show: true show: false
} }
}) })
// #endif // #endif
@ -211,7 +211,7 @@
// #ifdef H5 // #ifdef H5
emits('controlstoggles', { emits('controlstoggles', {
detail: { detail: {
show: false show: true
} }
}) })
// #endif // #endif

View File

@ -241,6 +241,7 @@
}) })
function controlstoggles(e) { function controlstoggles(e) {
console.log(e);
control.showControls = e.detail.show control.showControls = e.detail.show
control.showBack = control.showControls control.showBack = control.showControls
} }