微信小程的wx.makePhoneCall()取消拨打电话时会报错,如下图:
在后面加上catch可以解决这个问题
wx.makePhoneCall({
phoneNumber: telphone
}).catch((e) => {});
微信小程的wx.makePhoneCall()取消拨打电话时会报错,如下图:
在后面加上catch可以解决这个问题
wx.makePhoneCall({
phoneNumber: telphone
}).catch((e) => {});