import { call } from '@kit.TelephonyKit';
// 查询是否支持
let isSupport = call.hasVoiceCapability()
if (isSupport == false){
return
}
//拨打电话
call.makeCall('10086',(e:Error) =>{
if (e != null){
console.log('拨打成功')
}else {
console.log('拨打失败' + JSON.stringify(e))
}
})