mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-29 16:09:45 +08:00
课程详情课件下载
This commit is contained in:
@@ -85,3 +85,8 @@ export function isWechat() {
|
||||
let ua = window.navigator.userAgent.toLowerCase();
|
||||
return /micromessenger/.test(ua);
|
||||
}
|
||||
|
||||
export function isIOS() {
|
||||
var u = navigator.userAgent;
|
||||
return !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user