dev_aliyun_beta
parent
c2ca5b5158
commit
d99ff44081
File diff suppressed because one or more lines are too long
@ -1,3 +1,6 @@
|
||||
export function isDev() {
|
||||
return window.location.port === "3007";
|
||||
}
|
||||
}
|
||||
|
||||
// const isMobile
|
||||
export const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
Loading…
Reference in new issue