From 72c159f83f48c99f95ed698b2e9b6101df24a1df Mon Sep 17 00:00:00 2001 From: xXpuma99Xx <51341582+xXpuma99Xx@users.noreply.github.com> Date: Sat, 1 Jan 2022 14:06:34 -0600 Subject: [PATCH] =?UTF-8?q?errores=20peque=C3=B1os=20en=20editar=20corregi?= =?UTF-8?q?dos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/admin/EditarServicio.vue | 13 ++++++++----- nuxt.config.js | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/components/admin/EditarServicio.vue b/components/admin/EditarServicio.vue index 1c06ccb..788757d 100644 --- a/components/admin/EditarServicio.vue +++ b/components/admin/EditarServicio.vue @@ -45,6 +45,7 @@ @@ -203,11 +204,13 @@ export default { }, mostrar() { if ( - this.fechaInicio.toString() !== this.servicio.fechaInicio.toString() || - this.fechaFin.toString() !== this.servicio.fechaFin.toString() || - (this.fechaNacimiento && - this.fechaNacimiento.toString() !== - this.servicio.fechaNacimiento.toString()) || + this.fechaInicio.toString().substr(0, 15) !== + this.servicio.fechaInicio.toString().substr(0, 15) || + this.fechaFin.toString().substr(0, 15) !== + this.servicio.fechaFin.toString().substr(0, 15) || + (this.servicio.fechaNacimiento && + this.fechaNacimiento.toString().substr(0, 15) !== + this.servicio.fechaNacimiento.toString().substr(0, 15)) || (this.correo && validator.isEmail(this.correo)) || this.telefono || this.direccion || diff --git a/nuxt.config.js b/nuxt.config.js index c4ab8ff..c9d4384 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -24,9 +24,9 @@ export default { axios: {}, build: {}, env: { - api: 'http://localhost:3000', + // api: 'http://localhost:3000', // api: "https://890af9d598a4.ngrok.io" // api: 'https://venus.acatlan.unam.mx/ss-pruebas', - // api: 'https://venus.acatlan.unam.mx/serviciosocial', + api: 'https://venus.acatlan.unam.mx/serviciosocial', }, }