|
记录api.call的开发过程中在iOS上无法使用的问题
[复制链接]
开始的写法是
phoneCall(areacode, mobile) {
api.call({
type: 'tel_prompt',
number: areacode + mobile
});
}
此时在安卓手机上可以正常拨打电弧,但是在苹果手机上点击拨打电话没有反应,最后尝试后改成了
phoneCall(areacode, mobile) {
api.call({
type: 'tel_prompt',
number: areacode + "-" + mobile
});
},后安卓和苹果均可正常拨打电话
|
|