wx.createInnerAudioContext() 播放云储存fileid的问题?
wx.createInnerAudioContext() 直接用云储存fileid播放,第一次播放正常的.改变fileid后,还是播放第一次的声音.这是为什么?
const rmaudio = wx.createInnerAudioContext();
...
rmplay1: function () {
...
var file1 = 'cloud://XXXXXXX/' + that.data.stdApi.acc + "/" + that.data.stdApi.course_id + "/" + that.data.stdApi.new_question + ".mp3";
rmaudio.src = file1;
rmaudio.play();
...
}
象上面这样,file1变了之后,rmaudio.src一直没有变,有高手指教吗?