首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >微信小程序stopRecord返回值为空?

微信小程序stopRecord返回值为空?

提问于 2018-05-17 17:52:48
回答 1关注 0查看 1K

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 返回一直为空

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档