查询网上资料都是这么写的
<a href="sms:10086">发送短信</a>
在使用uniapp uViewUI 框架时,在u-popup组件内使用上面代码没有任何效果
解决办法:
//发送短信
massage() {
// this.show = false
const a = document.createElement('a'); // 创建a标签
a.setAttribute('href', 'sms:' + email);// href链接
a.click();// 自执行点击事件
}