uniapp 拨打电话功能
phoneNumber进行动态调用时候一定要添加引号,否则会报错
1 call() {
2 uni.makePhoneCall({
3 phoneNumber: 'this.leads.tel' //仅为示例
4 });
5 }
然后在需要的地方绑定事件进行调用即可 【@tap = 'call()'】
本文来自博客园,作者:奔跑的前端猿,转载请注明原文链接:https://www.cnblogs.com/sxdpanda/p/12975216.html
如需了解更多文章,请移步:https://www.yuque.com/sxd_panda

浙公网安备 33010602011771号