clean console logs

This commit is contained in:
2022-05-24 23:11:56 -05:00
parent 4e7aa3d119
commit 5cf1e87d54
4 changed files with 0 additions and 9 deletions
-3
View File
@@ -111,13 +111,10 @@ export default {
hora: this.hora,
activa: true
}
console.log(data)
axios
.post(`${process.env.api}/Premiacion/nueva`, data)
.then((res) => {
this.updateIsLoading(false)
const info = res.data
console.log(info)
this.success()
this.reset()
})
-2
View File
@@ -98,7 +98,6 @@ export default {
this.$router.push('/Admin')
},
colorBoton() {
console.log(this.activa)
if (this.activa === true) return 'is-danger'
return 'is-success'
},
@@ -112,7 +111,6 @@ export default {
idPremiacion: this.idPremiacion,
activa: !this.activa,
}
console.log(data)
axios
.put(`${process.env.api}/Premiacion/activarDesactivar`, data)
.then((res) => {
-2
View File
@@ -111,8 +111,6 @@ export default {
.post(`${process.env.api}/usuario/nuevoOperador`, data)
.then((res) => {
this.updateIsLoading(false)
const info = res.data
console.log(info)
this.success()
this.reset()
})
-2
View File
@@ -195,7 +195,6 @@ export default {
},
watch: {
idPremiacion() {
console.log("Algo")
this.dataExport = []
this.isLoading = true
axios
@@ -203,7 +202,6 @@ export default {
`${process.env.api}/invitado/get?idPremiacion=${this.idPremiacion}`
)
.then((res) => {
console.log(res.data)
this.isLoading = false
if (res.data.length > 0) {
res.data.forEach((item, index) => {