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
master
ming4762 5 months ago committed by GitHub
parent fad0b49841
commit 5b75e5e917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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,

Loading…
Cancel
Save