摘要:
function checkDevice() { //userAgent 属性是一个只读的字符串,声明了浏览器用于 HTTP 请求的用户代理头的值 const u = navigator.userAgent; //Android终端 this.isAndroid = u.indexOf('Andro 阅读全文
posted @ 2020-08-03 10:32
叶子0321~
阅读(438)
评论(0)
推荐(0)
摘要:
function IsPC() { const userAgentInfo = navigator.userAgent; const Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; let f 阅读全文
posted @ 2020-08-03 10:30
叶子0321~
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号