chore: 迁移工具方法 isMobileUI

This commit is contained in:
CrescentLeaf
2025-10-01 00:02:20 +08:00
parent cd22f62d60
commit 29ea6f9142
2 changed files with 5 additions and 1 deletions

3
client/ui/isMobileUI.ts Normal file
View File

@@ -0,0 +1,3 @@
export default function isMobileUI() {
return new URL(location.href).searchParams.get('mobile') == 'true'
}