修改页面逻辑

This commit is contained in:
于肖磊
2025-12-01 14:37:56 +08:00
parent 17f17e2416
commit 2a0b7d5ad0

View File

@ -57,6 +57,8 @@
ended() {
this.$emit('ended');
},
//#ifdef H5
// 网页有的时候直接访问会报错,所以这里需要判断一下,如果报错则静音播放,静音播放成功添加提示,用户操作之后改为非静音播放
// 静音自动播放成功, 触发事件, 添加提示弹出框,用户操作之后改为非静音播放
auto_play_success(e) {
// 静音播放成功时,触发事件,提示用户需要修改点击修改播放状态
@ -75,6 +77,7 @@
muted_tap() {
this.muted = false;
}
// #endif
},
}
</script>