Agregar mensaje de error en el servicio de profesores

This commit is contained in:
santiago
2025-07-29 11:58:06 -06:00
parent b84fc840a9
commit d74a3cfdcf
2 changed files with 10 additions and 3 deletions
+6 -1
View File
@@ -207,13 +207,18 @@ export default {
path: '/profesor/bienvenida'
//query: { nombre, idUsuario, numeroCuenta }
})
} else {
}
else {
//Borrar
/*
this.profesor = null
this.error = 'is-danger'
this.mensaje = 'Profesor no encontrado o sin nombre registrado.'
this.imprimirWarning('No se encontró al profesor.')
*/
errorBuscar();
}
})
.catch((err) => {
//this.profesor = null