mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 22:57:15 +08:00 
			
		
		
		
	fix: 登录页h5和pc响应问题 @AutumnSail
This commit is contained in:
		| @@ -10,7 +10,7 @@ import { useWindowSize } from '@vueuse/core' | ||||
|  */ | ||||
| export function useDevice() { | ||||
|   const { width } = useWindowSize() | ||||
|   const isDesktop = computed(() => width.value > 768) | ||||
|   const isDesktop = computed(() => width.value > 571) | ||||
|   const isMobile = computed(() => !isDesktop.value) | ||||
|  | ||||
|   return { isMobile, isDesktop } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user