phoneNumber進行動態調用時候一定要添加引號,否則會報錯
1 call() { 2 uni.makePhoneCall({ 3 phoneNumber: 'this.leads.tel' //僅為示例
4 }); 5 }
然后在需要的地方綁定事件進行調用即可 【@tap = 'call()'】
phoneNumber進行動態調用時候一定要添加引號,否則會報錯
1 call() { 2 uni.makePhoneCall({ 3 phoneNumber: 'this.leads.tel' //僅為示例
4 }); 5 }
然后在需要的地方綁定事件進行調用即可 【@tap = 'call()'】
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。