mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-10-28 00:10:50 +08:00
fix(web): 对齐侧边栏移动端判断与响应式断点
This commit is contained in:
@@ -19,7 +19,7 @@ const emits = defineEmits<{
|
||||
"update:open": [open: boolean]
|
||||
}>()
|
||||
|
||||
const isMobile = useMediaQuery("(max-width: 768px)")
|
||||
const isMobile = useMediaQuery("(width < 48rem)")
|
||||
const openMobile = ref(false)
|
||||
|
||||
const open = useVModel(props, "open", emits, {
|
||||
|
||||
Reference in New Issue
Block a user