跳转到拨号页面,没有显示设定的#号
由于tel属性设置不能识别#号,需要对# 号进行转义。对应的代码是 %23 。例如 :
···
let uri = "tel://" + "*12346#";
uri = uri.replaceAll("#","%23");
···
由于tel属性设置不能识别#号,需要对# 号进行转义。对应的代码是 %23 。例如 :
···
let uri = "tel://" + "*12346#";
uri = uri.replaceAll("#","%23");
···
本文标题:关于设置location.href = `tel:123456#
本文链接:https://www.haomeiwen.com/subject/mgaofctx.html
网友评论