errores mensajes

This commit is contained in:
Arturo
2020-02-14 21:55:23 -06:00
parent 333fce6ee9
commit fe415b1bef
7 changed files with 17 additions and 5 deletions
+6
View File
@@ -160,6 +160,12 @@ export default {
.catch(function(error) {
// eslint-disable-next-line
console.log(error.response)
Swal.fire({
title: 'Error',
text: error.response.data.msj,
icon: 'error',
confirmButtonText: 'Aceptar',
})
})
},
},
+6
View File
@@ -156,6 +156,12 @@ export default {
.catch(function(error) {
// eslint-disable-next-line
console.log(error.response)
Swal.fire({
title: 'Error',
text: error.response.data.msj,
icon: 'error',
confirmButtonText: 'Aceptar',
})
})
},
},