小程序拨打电话
- 当前 Bug 的表现(可附上截图)
wx.makePhoneCall方法活着其他拨打电话的方法,判断是否接通
- 预期表现
未接通回头回调
- 复现路径
- 提供一个最简复现 Demo
wx.makePhoneCall({
phoneNumber: phone,
success: (res) => {
console.log(res, ‘phone’)
if (status == null || status == 0 || status == 1 || status == 3 || status == 4) {
wx.navigateTo({
url: ‘/pages/followRecord/followRecord?id=’ + id + ‘&type=’ + 1 + ‘&types=’ + 2 + ‘&tip=’ + 1 + ‘&name=’ + name + ‘&img=’ + img,
})
}
}
})