课程详情课件下载

This commit is contained in:
unknown
2023-07-30 15:43:47 +08:00
parent 22533dc828
commit b9901b12cb
2 changed files with 19 additions and 8 deletions

View File

@@ -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);
}