rapidez del slider

This commit is contained in:
Jaume Solís 2024-04-18 12:28:49 +02:00
parent 96a47f59c1
commit 28560395f1
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ export default defineComponent({
onBeforeMount(async () => { onBeforeMount(async () => {
banners.value = await getBanners(); //banners.value = await getBanners();
await getProducts(); await getProducts();
}); });
@ -67,7 +67,7 @@ export default defineComponent({
<template> <template>
<q-page> <q-page>
<q-no-ssr> <q-no-ssr>
<VerticalCarouselImgs v-if="banners" :banners="banners" class="home-carousel" /> <VerticalCarouselImgs :banners="getBanners()" class="home-carousel" />
</q-no-ssr> </q-no-ssr>
<section class="products-section" ref="homeSection"> <section class="products-section" ref="homeSection">