feat: byค่า
This commit is contained in:
parent
8d4c03f79d
commit
05288b0250
2 changed files with 64 additions and 57 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue