clean console logs
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user