开发工具中createInnerAudioContext.play 为什么会触发onPause?
开发者工具版本:1.03.2009140 const audio = wx.createInnerAudioContext()
audio.onPause((res)=>{
console.log('onPause')
})
audio.onEnded(()=>{
console.log('onEnd')
})
audio.src = 'xxxxx'
audio.play()
上面的代码会打印 onPause onEnd 为什么会先触发onPause?