mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-29 16:09:45 +08:00
课程详情课件下载
This commit is contained in:
@@ -80,3 +80,8 @@ export function isMobile() {
|
||||
export function isEmptyObject(obj: Object) {
|
||||
return Object.keys(obj).length === 0;
|
||||
}
|
||||
|
||||
export function isWechat() {
|
||||
let ua = window.navigator.userAgent.toLowerCase();
|
||||
return /micromessenger/.test(ua);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user