仪表盘
版本库
文件存储
活动
搜索
登录
main
/
eims-master
车间能级提升-智能设备管理系统
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
feat(web-antd): 全局注册 ant-design-vue 组件- 在 bootstrap.ts 中导入并注册 Antd - 此修改确保 ...
baoshiwei
2025-07-11
4f71408684b2116c7ed98e1ec8b88c06d23d329e
[eims-master.git]
/
eims-ui
/
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 };
}