Updated
This commit is contained in:
@@ -34,7 +34,7 @@ const page = computed({
|
||||
<PaginationRoot
|
||||
:total="total"
|
||||
:sibling-count="1"
|
||||
:items-per-page="9"
|
||||
:items-per-page="15"
|
||||
show-edges
|
||||
v-model:page="page"
|
||||
>
|
||||
|
||||
@@ -39,8 +39,8 @@ const useGetProducts = (params?: ComputedRef<GetProductsFilters>) => {
|
||||
category: params?.category,
|
||||
price_gte: params?.price_gte,
|
||||
price_lte: params?.price_lte,
|
||||
offset: Number(params?.page) * 12 - 12,
|
||||
limit: 12
|
||||
offset: Number(params?.page) * 15 - 15,
|
||||
limit: 15
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
@@ -133,7 +133,7 @@ watch(
|
||||
class="!p-0"
|
||||
/>
|
||||
<div
|
||||
v-if="data && paginationData && data.count > 10"
|
||||
v-if="data && paginationData && data.count > 15"
|
||||
class="w-full flex-center py-10"
|
||||
>
|
||||
<Pagination
|
||||
|
||||
Reference in New Issue
Block a user