feat: byค่า

This commit is contained in:
Net 2024-06-07 14:19:35 +07:00
parent 8d4c03f79d
commit 05288b0250
2 changed files with 64 additions and 57 deletions

View file

@ -14,8 +14,8 @@ const branch = ref<CustomerBranch[]>();
const prop = withDefaults(
defineProps<{
color: 'purple' | 'green';
customerId: string;
color?: 'purple' | 'green';
customerId?: string;
}>(),
{
color: 'green',
@ -123,15 +123,8 @@ onMounted(async () => {
</div>
</div>
<div class="row q-pa-lg q-col-gutter-xl">
<<<<<<< HEAD
<div v-for="i in 2" class="col-4">
<BranchCardCustomer
@view-detail="$emit('viewDetail')"
></BranchCardCustomer>
=======
<div v-for="(br, i) in branch" class="col-4" :key="i">
<BranchCardCustomer :data="br"></BranchCardCustomer>
>>>>>>> 10383c3 (feat: fetchListById และ byค)
<div v-for="(br, i) in branch" :key="i" class="col-4">
<BranchCardCustomer :data="br" @view-detail="$emit('viewDetail')" />
</div>
</div>
</AppBox>