// 打电话
{/* 调用失败! phoneNumber 一定要传字符串 */}
handlerCall(phoneNumber) {
console.log(phoneNumber, "phoneNumberphoneNumber");
uni.makePhoneCall({
// 手机号
phoneNumber: phoneNumber.toString(),
// 成功回调
success: (res) => {
console.log("调用成功!");
},
// 失败回调
fail: (res) => {
console.log("调用失败!");
// this.call_phone();//重复调用一次
},
});
uni-app——uni-app 打电话调用失败怎么解决
最新推荐文章于 2024-04-28 11:05:58 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)