仪表盘
版本库
文件存储
活动
搜索
登录
main
/
school-ai
办学质量监测教学评价系统
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge remote-tracking branch 'origin/main'
康鲁杰
7 天以前
4398a02bf8543e73a716dee14b3ba4af56c6b9f8
[school-ai.git]
/
ruoyi-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 };
}