pref: optimize dialog property (#158)

This commit is contained in:
Hayden
2025-03-03 17:02:03 +08:00
committed by GitHub
parent 7378a7deae
commit 384a106917
3 changed files with 19 additions and 11 deletions

View File

@@ -3,6 +3,7 @@
ref="dialogRef"
:visible="true"
@update:visible="updateVisible"
:modal="modal"
:close-on-escape="false"
:maximizable="!isMobile"
maximizeIcon="pi pi-arrow-up-right-and-arrow-down-left-from-center"
@@ -91,6 +92,7 @@ interface Props {
minHeight?: number
maxHeight?: number
zIndex?: number
modal?: boolean
}
const props = withDefaults(defineProps<Props>(), {