修改手写识别

This commit is contained in:
zyronon
2023-08-23 18:58:20 +08:00
parent ee343330e9
commit 0236463aeb
4 changed files with 97 additions and 37 deletions

View File

@@ -8,5 +8,5 @@ export function useEsc(can: boolean) {
}
})
})
return [useEsc()]
return []
}

6
src/hooks/useMobile.ts Normal file
View File

@@ -0,0 +1,6 @@
export default function useMobile() {
if (/Mobi|Android|iPhone/i.test(navigator.userAgent)) {
return true
}
return false
}