![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
交互
bie-bie
这个作者很懒,什么都没留下…
展开
-
vue使用signalR发送消息给服务端及监听及报错There was an error invoking Hub method....
vue使用signalR及报错There was an error invoking Hub method....原创 2021-12-29 17:20:54 · 1106 阅读 · 0 评论 -
交互-前端js页面调用原生的方法
if (/android/i.test(navigator.userAgent)) { try { window.App.方法名(参数); } catch (e) { console.log(e) } } else if (/ios|iphone|ipod|pad/i.test(navigator.userAgent)) { try { window.webkit.messageHandlers....原创 2019-04-28 14:18:27 · 1097 阅读 · 0 评论 -
交互-前端跳转原生App
前端跳转原生APP页面 actuive 是APP与前端的一种协议,建议安卓/IOS协议相同 window.location.href = ‘actuive://data’; 打开APP首页 window.location.href = ‘actuive://data/gotologin’ 打开APP的登录页面 window.location.href = actuive://data/${...原创 2019-04-28 14:22:58 · 510 阅读 · 0 评论