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)
    })
posted on 2024-12-18 09:22  AtlasLapetos  阅读(9)  评论(0)    收藏  举报