fix: แก้การรับค่า defineProps ให้รับ hideButton

This commit is contained in:
Net 2024-06-17 15:45:24 +07:00
parent 9eb695a449
commit 424dee5f99

View file

@ -21,9 +21,11 @@ withDefaults(
code: string; code: string;
detail?: { label: string; value: string }[]; detail?: { label: string; value: string }[];
}; };
hideButton?: boolean;
badge?: CustomerBranch[]; badge?: CustomerBranch[];
}>(), }>(),
{ {
hideButton: false,
width: '300px', width: '300px',
deletable: false, deletable: false,
color: 'green', color: 'green',