function callPhone() {
let btnArray = ['拨打', '取消'];
let Phone = "10086";
mui.confirm('是否拨打 ' + Phone + ' ?', '提示', btnArray, function(e) {
if (e.index == 0) {
plus.device.dial(Phone, false);
}
});
}
标签:电话,function,拨打,Phone,let,mui,btnArray
来源: https://www.cnblogs.com/muou2125/p/10734471.html