uniapp 拨打电话功能
时间:2020-05-27 18:31:33
收藏:0
阅读:141
phoneNumber进行动态调用时候一定要添加引号,否则会报错
1 1 call() { 2 2 uni.makePhoneCall({ 3 3 phoneNumber: ‘this.leads.tel‘ //仅为示例 4 4 }); 5 5 }
然后在需要的地方绑定事件进行调用即可 【@tap = ‘call()‘】
原文:https://www.cnblogs.com/sxdpanda/p/12975216.html
评论(0)