仪表盘
版本库
文件存储
活动
搜索
登录
SC
/
gfzl
广丰卷烟厂数采质量分析系统
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
fix(database): 修正称重盒子实体类 WeighingBox 的表名从 qm_weighing_box 修改为 md_weighing_box
baoshiwei
12 小时以前
8f077526eaeed57216126ba9381f32d91d5587aa
[SC/gfzl.git]
/
ruoyi-plus-soybean
/
src
/
utils
/
agent.ts
1
2
3
4
5
6
7
export function isPC() {
const agents = ['Android', 'iPhone', 'webOS', 'BlackBerry', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'];
const isMobile = agents.some(agent => window.navigator.userAgent.includes(agent));
return !isMobile;
}