小程序拨打电话api报错makePhoneCall:fail cancel
wx.makePhoneCall({ phoneNumber: app.globalData.phoneNumber, })
wx.makePhoneCall({ phoneNumber:app.globalData.phoneNumber, }).catch((e) => { // console.log(e) //用catch(e)来捕获错误{makePhoneCall:fail cancel} })
wx.makePhoneCall({ phoneNumber: app.globalData.phoneNumber, })
wx.makePhoneCall({ phoneNumber:app.globalData.phoneNumber, }).catch((e) => { // console.log(e) //用catch(e)来捕获错误{makePhoneCall:fail cancel} })