Router al validar ticket
This commit is contained in:
@@ -92,13 +92,15 @@ export default {
|
||||
.then((res) => {
|
||||
this.updateIsLoading(false)
|
||||
this.imprimirMensaje(res.data.message)
|
||||
// this.$router.go(-1)
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err)
|
||||
this.updateIsLoading(false)
|
||||
this.imprimirError(err.response.data)
|
||||
})
|
||||
.finally(() => {
|
||||
this.$router.go(-1)
|
||||
})
|
||||
},
|
||||
fecha(fecha) {
|
||||
return moment(fecha).format('L')
|
||||
|
||||
Reference in New Issue
Block a user