关于angularJs发送短信出现|关于angularJs发送短信出现 unsafe:sms:
打电话
发短信
js
window.location.href="https://www.it610.com/article/sms:"+ mobile;
如果短信不能发送的话,在config.xml 中看看是否有
" launch-external="yes"/>
" launch-external="yes"/>
" launch-external="yes"/>
" launch-external="yes"/>
还是不能发送的话,看看控制器里是不是xxx
是的话在 services 中引入
.config( [
'$compileProvider',
function( $compileProvider )
{
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|tel|file|sms):/);
// Angular v1.2 之前使用 $compileProvider.urlSanitizationWhitelist(...)
}
]);
【关于angularJs发送短信出现|关于angularJs发送短信出现 unsafe:sms:】然后强制刷新页面,基本就解决了。
推荐阅读
- 关于QueryWrapper|关于QueryWrapper,实现MybatisPlus多表关联查询方式
- python学习之|python学习之 实现QQ自动发送消息
- 四首关于旅行记忆的外文歌曲
- 醒不来的梦
- 关于自我为中心的一点感想
- 「按键精灵安卓版」关于全分辨率脚本的一些理解(非游戏app)
- 关于Ruby的杂想
- 关于读书的思考
- 关于this的一些问题(1)
- 《声之形》