onShareAppMessage回调的Bug?
- 当前 Bug 的表现 回调成功后,调用audio播放声音没有效果。 - 代码片段 onShareAppMessage: function (event) { if (event.from === 'button') { console.log(event.target) } return { title: 'title', path: '/index/index', success(e){ var audio = wx.createInnerAudioContext(); audio.src = "/audios/pass.mp3"; audio.play(); that.setData({ flag: 1 }); } } }