微信小程序 录音 播放 出现问题

发布于 7 年前作者 jingzou12759 次浏览最后编辑 7 年前来自 ask

wx.startRecord({

success: function (e) {

var voice = e.tempFilePath;

wx.playVoice({

filePath: voice,

success: function () {

console.log(“播放成功”+voice);

})

}

})

播放成功····但是 没有声音

1 回复
bdeng
bdeng1 楼5 年前

你好,请提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。