dev_aliyun_beta
hjm 6 years ago
parent 8eefa3ce26
commit 706028bc57

@ -2,5 +2,5 @@ export function isDev() {
return window.location.port === "3007"; return window.location.port === "3007";
} }
const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); // const isMobile
export const isMobile export const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
Loading…
Cancel
Save