errores mensajes
This commit is contained in:
@@ -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',
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user