仪表盘
版本库
文件存储
活动
搜索
登录
main
/
mom-pro2-before
宁夏三级mom前端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
feat(erp/mes/hrm): 新增采购订单/销售订单/计量器具导入弹窗;导入完成自动关闭
tuqin
10 天以前
40f2807b7cee7ae8e528f64a91937303199a30e1
[mom-pro2-before.git]
/
src
/
packages
/
@core
/
composables
/
src
/
use-is-mobile.ts
1
2
3
4
5
6
7
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core';
export function useIsMobile() {
const breakpoints = useBreakpoints(breakpointsTailwind);
const isMobile = breakpoints.smaller('md');
return { isMobile };
}