const innerAudioContext = wx.createInnerAudioContext()
innerAudioContext.autoplay = true
//这两句话话一定要在一起,不然ios手机上会有时间放不出声音
innerAudioContext.src = 'audio/start.mp3'
innerAudioContext.onPlay(() => {
console.log('开始播放')
})
innerAudioContext.onError((res) => {
console.log(res.errMsg)
console.log(res.errCode)
})