wx.startRecord({
success: function (res) {
}
})
//点击停止录音
Stoprecord() {
var that = this;
setTimeout(function () {
wx.stopRecord({
fail: function (res) {
//alert("停止失败");
},
success: function (res) {
var localId = res.localId;
console.log("IDIDID:"+localId)
console.log(localId)
}
});
}, 1600);
},
localid 返回一直为空
相似问题