仪表盘
版本库
文件存储
活动
搜索
登录
main
/
mom-pro2-before
中小pro2前端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
银川 1.采购申请页面修改 2.添加在线查看附件预览功能 3.修改我的流程页面展示样式流程状态点击报错问题
gaoluyang
6 天以前
d2a80d7b57325bb29eb8719111ea12d3b5b0ae6e
[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 };
}