Commit 5b75e5e9 by ming4762 Committed by GitHub

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
1 parent fad0b498
......@@ -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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!