perf: perf the control logic of `VbenModal` full screen and header (#6566)

* resolve the issue of header=false and full screen button display but not operable
pull/183/MERGE
ming4762 2025-07-25 21:45:45 +08:00 committed by GitHub
parent fad0b49841
commit 5b75e5e917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -98,9 +98,7 @@ const {
zIndex,
} = usePriorityValues(props, state);
const shouldFullscreen = computed(
() => (fullscreen.value && header.value) || isMobile.value,
);
const shouldFullscreen = computed(() => fullscreen.value || isMobile.value);
const shouldDraggable = computed(
() => draggable.value && !shouldFullscreen.value && header.value,