fix: many products in search
This commit is contained in:
@@ -210,6 +210,6 @@ onMounted(async () => {
|
||||
|
||||
const response = await searchStore.fetchProducts('', 1, 3);
|
||||
productsTotal.value = response?.meta?.total || 0;
|
||||
preloadedProducts.value = response.data;
|
||||
preloadedProducts.value = response.data.splice(0, 3);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user