解决ios微信audio无法自动播放 mounted () { this.mySound = this.$refs.audio this.mySound.loop = true window.wx.ready(() = { this.mySound.play() })}
mounted () {
this.mySound = this.$refs.audio
this.mySound.loop = true
window.wx.ready(() => {
this.mySound.play()
})
}
