refactor: form dialog no app box

This commit is contained in:
puriphatt 2024-04-22 14:37:07 +07:00
parent a29fbade77
commit 71663e9868

View file

@ -12,6 +12,7 @@ defineProps<{
badgeLabel?: string;
badgeClass?: string;
noFooter?: boolean;
noAppBox?: boolean;
maxWidth?: number;
submit?: (...args: unknown[]) => void;
close?: (...args: unknown[]) => void;
@ -83,6 +84,7 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
<!-- center -->
<AppBox
v-if="!noAppBox"
bordered
class="column full-height"
:class="`${$slots.prepend ? ($q.screen.gt.sm ? 'col-10' : 'col-12') : $slots.append ? 'col-6' : 'col-12'}`"