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 operablepull/183/MERGE
parent
fad0b49841
commit
5b75e5e917
|
@ -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…
Reference in New Issue