Skip to content

Commit 60aa238

Browse files
committed
feat: 登录页h5和pc响应问题
1 parent d261d4e commit 60aa238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/modules/useDevice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useWindowSize } from '@vueuse/core'
1010
*/
1111
export function useDevice() {
1212
const { width } = useWindowSize()
13-
const isDesktop = computed(() => width.value > 768)
13+
const isDesktop = computed(() => width.value > 571)
1414
const isMobile = computed(() => !isDesktop.value)
1515

1616
return { isMobile, isDesktop }

0 commit comments

Comments
 (0)