Debug: Agregar plugin de error handler y más logging
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m5s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m5s
- Crear plugin error-handler.ts para capturar todos los errores - Captura errores de app:error, vue:error y errorHandler - Agregar logs en script setup de componentes - Logs antes y después de llamar a useLotes() - Esto nos mostrará exactamente dónde crashea la app
This commit is contained in:
@@ -103,6 +103,8 @@
|
||||
<script setup lang="ts">
|
||||
import type { Lote } from '~/composables/useLotes'
|
||||
|
||||
console.log('🟢 LotesTable: <script setup> ejecutándose')
|
||||
|
||||
const emit = defineEmits<{
|
||||
create: []
|
||||
view: [lote: Lote]
|
||||
@@ -110,7 +112,9 @@ const emit = defineEmits<{
|
||||
trazabilidad: [lote: Lote]
|
||||
}>()
|
||||
|
||||
console.log('🟢 LotesTable: Llamando a useLotes()...')
|
||||
const { fetchLotes, TIPOS_LOTE } = useLotes()
|
||||
console.log('🟢 LotesTable: useLotes() completado')
|
||||
|
||||
const lotes = ref<Lote[]>([])
|
||||
const loading = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user