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♪(・ω・)ノ
另一帖子已有回复,此贴先隐藏