playVoice: function(t) {
const that = this;
this.setData({
playing: true,
});
wx.playVoice({
filePath: that.data.tempFilePath,
success() {
},
complete() {
console.log("play vocie completed");
that.setData({
playing: false,
});
}
});
}
在没有播放完的情况下,complete就执行了,请问如何解决?Thanks?(?
本文网址:http://www.91bianli.com/weixinxiaochengxu/36742.html