callTel weex 拨打电话接口( Promise 返回)
callTel
weex 拨打电话接口( Promise 返回)
#请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param |
Object |
Y |
{} 属性: tel: title:{ Type: String, Default: N/A, Description: 确认框的标题,如客户服务 } desc:{ Type: String, Default: N/A, Description: 确认框的描述,如拨打热线电话 } isDirectCall: |
请求参数 |
#接口调用示例
this.$bridge
.callTel(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
浙公网安备 33010602011771号