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