小米手机调用makePhoneCall时,无法走到fail回调
wx.makePhoneCall({
phoneNumber: ‘xxxxxxxxxxx’,
success: function (res) {
wx.reLaunch({
url: ‘…/home/home’,
});
console.log(‘success’)
},
fail: function (res) {
console.log(‘fail’)
},
complete: function (res) {
console.log(‘complete’)
},
})
1 回复
你好,请问是指在小米手机出现么?具体型号是什么呢?提供个代码片段( https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html?search-key= %E4%BB%A3%E7%A0%81%E7%89%87%E6%AE%B5)