初始化项目模板

This commit is contained in:
yangyao committed 2026-01-04 17:53:40 +08:00
1 parent 80fd6a1d4b
commit b3a69a1f27
69 files changed
+11088

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
/**
* 判断是否为移动端
* @returns {Boolean} true为移动端
*/
export function useUsingMobile() {
const isUsingMobile = /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent);
return isUsingMobile;
}