diff --git a/components/Login.vue b/components/Login.vue index e0c779a..38dea58 100644 --- a/components/Login.vue +++ b/components/Login.vue @@ -208,16 +208,16 @@ export default { //query: { nombre, idUsuario, numeroCuenta } }) } - 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(); - } + // 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) => { diff --git a/jsconfig.json b/jsconfig.json index 29037a6..e51ed9a 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "baseUrl": ".", + "baseUrl": "http://localhost:3000", "paths": { "~/*": ["./*"], "@/*": ["./*"], diff --git a/pages/profesor/bienvenida.vue b/pages/profesor/bienvenida.vue index 4f1b9de..775d87e 100644 --- a/pages/profesor/bienvenida.vue +++ b/pages/profesor/bienvenida.vue @@ -64,6 +64,7 @@ export default { .catch((err) => { //this.imprimirError('No se pudo enviar el correo.'); console.error(err); + console.log(err) errorAlInscribir(); }); }