fix: แก้ แก้ไขเป็น info

This commit is contained in:
Net 2024-06-25 16:26:46 +07:00
parent 3aab3db465
commit eb9e53d7fa
2 changed files with 14 additions and 4 deletions

View file

@ -25,7 +25,12 @@ defineProps<{
defineEmits<{
(e: 'deleteCard', id: string): void;
(e: 'updateCard', action: 'FORM' | 'INFO', id: string): void;
(
e: 'updateCard',
action: 'FORM' | 'INFO',
id: string,
isEdit?: boolean,
): void;
(e: 'enterCard', action: 'FORM' | 'INFO', id: string): void;
(e: 'toggleStatus', id: string, status: boolean): void;
}>();
@ -92,7 +97,7 @@ defineEmits<{
clickable
class="row q-py-sm"
style="white-space: nowrap"
@click="$emit('updateCard', 'FORM', v.id)"
@click="$emit('updateCard', 'INFO', v.id, true)"
v-close-popup
>
<q-icon