Commit 373df914 authored by gengchunlei's avatar gengchunlei

居民端小程序 v1.2 ios电话唤起测试

parent 69976bfe
......@@ -483,7 +483,7 @@ export default {
toTel() {
// 创建一个电话号码的URL
let phoneNumber = this.form.telephone // 替换为需要拨打的号码
let url = 'tel:' + encodeURIComponent(phoneNumber)
let url = 'tel://' + encodeURIComponent(phoneNumber)
// 创建一个a标签
let a = document.createElement('a')
a.href = url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment