fix: form dialog props
This commit is contained in:
parent
1aac511b0b
commit
583fdad68b
1 changed files with 4 additions and 3 deletions
|
|
@ -15,8 +15,9 @@ defineProps<{
|
|||
noFooter?: boolean;
|
||||
noAppBox?: boolean;
|
||||
noPaddingTab?: boolean;
|
||||
maxWidth?: number;
|
||||
width?: number;
|
||||
maxWidth?: string;
|
||||
width?: string;
|
||||
height?: string;
|
||||
employee?: boolean;
|
||||
noAddress?: boolean;
|
||||
disabledRule?: boolean;
|
||||
|
|
@ -47,7 +48,7 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
|
|||
<q-dialog v-model="modal" @hide="close">
|
||||
<AppBox
|
||||
style="padding: 0; border-radius: var(--radius-2); max-height: 100%"
|
||||
:style="`max-width:${maxWidth ? maxWidth : '85%'}; width: ${width ? width : '85%'}`"
|
||||
:style="`max-width:${maxWidth ? maxWidth : '85%'}; width: ${width ? width : '85%'} `"
|
||||
>
|
||||
<q-form greedy @submit.prevent @validation-success="submit">
|
||||
<!-- header -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue