Debug: Cambiar a slot #content y agregar debug de datos
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m2s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m2s
- Cambiar de slot #body a #content - Agregar debug para ver qué contiene item cuando no tiene muestra - Esto ayudará a entender qué datos recibe el slot
This commit is contained in:
@@ -141,16 +141,16 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Body con FormularioMuestra -->
|
<!-- Content con FormularioMuestra -->
|
||||||
<template #body="{ item }">
|
<template #content="{ item }">
|
||||||
<div v-if="item && item.muestra">
|
<div v-if="item && item.muestra" class="p-4">
|
||||||
<CataFormularioMuestra
|
<CataFormularioMuestra
|
||||||
:muestra="item.muestra"
|
:muestra="item.muestra"
|
||||||
:tab-activa="tabActiva"
|
:tab-activa="tabActiva"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="p-4 text-error">
|
<div v-else class="p-4 text-error">
|
||||||
Error: No se pudo cargar la muestra
|
Debug: item={{ JSON.stringify(item) }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</UAccordion>
|
</UAccordion>
|
||||||
|
|||||||
Reference in New Issue
Block a user