mirror of
https://gitee.com/zongzhige/shopxo-uniapp.git
synced 2026-07-05 13:22:25 +08:00
修改逻辑处理1
This commit is contained in:
@ -167,6 +167,11 @@
|
||||
*/
|
||||
// 自动播放失败, 静音播放
|
||||
auto_play_error() {
|
||||
uni.showToast({
|
||||
title: this.muted ? '静音播放失败' : '自动播放失败,已切换为静音播放',
|
||||
icon: 'success',
|
||||
mask: true
|
||||
})
|
||||
// 如果是静音播放了,但是还是播放失败
|
||||
if (this.muted) {
|
||||
this.$emit('mutedAutoPlayError');
|
||||
|
||||
Reference in New Issue
Block a user