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>
|
||||
|
||||
<!-- Body con FormularioMuestra -->
|
||||
<template #body="{ item }">
|
||||
<div v-if="item && item.muestra">
|
||||
<!-- Content con FormularioMuestra -->
|
||||
<template #content="{ item }">
|
||||
<div v-if="item && item.muestra" class="p-4">
|
||||
<CataFormularioMuestra
|
||||
:muestra="item.muestra"
|
||||
:tab-activa="tabActiva"
|
||||
/>
|
||||
</div>
|
||||
<div v-else class="p-4 text-error">
|
||||
Error: No se pudo cargar la muestra
|
||||
Debug: item={{ JSON.stringify(item) }}
|
||||
</div>
|
||||
</template>
|
||||
</UAccordion>
|
||||
|
||||
Reference in New Issue
Block a user