vue template:
<p class="telNum" @click="callPhone(phoneNum)">{{phoneNum}}</p>
methods:
methods:{
callPhone (phoneNum) {
window.location.href = 'tel://' + phoneNum
}
}
vue template:
<p class="telNum" @click="callPhone(phoneNum)">{{phoneNum}}</p>
methods:
methods:{
callPhone (phoneNum) {
window.location.href = 'tel://' + phoneNum
}
}