摘要:
<script type="text/javascript"> var Sys = {}; var zfs = navigator.userAgent.toLowerCase(); var s; (s = zfs.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = zfs.match(/firefox\/([\d.]+)/)) ? Sys.firefox 阅读全文
摘要:
/** * @name 判断iOS */ export const isiOS = ()=>{ let u = navigator.userAgent; let iOs = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端\ return iOs; } /** * @name 判断android */ expo... 阅读全文