config.xml中添加
<access origin="tel:*" launch-external="yes" />
按钮
<button (click)="call_up()">拨打电话</button>
点击拨打电话事件
call_up(){
document.location.href="tel:17724278927"
}
config.xml中添加
<access origin="tel:*" launch-external="yes" />
按钮
<button (click)="call_up()">拨打电话</button>
点击拨打电话事件
call_up(){
document.location.href="tel:17724278927"
}