token expire, remove console
This commit is contained in:
@@ -234,8 +234,7 @@ export default {
|
||||
this.$axios
|
||||
.put("/Credito", toSend, axiosHeader)
|
||||
.then((res) => {
|
||||
console.log(res.data.status);
|
||||
this.getItems();
|
||||
this.getItems();
|
||||
})
|
||||
.catch((e) => console.log(e));
|
||||
},
|
||||
@@ -316,7 +315,6 @@ export default {
|
||||
this.selectedCredito = this.Creditos[0];
|
||||
this.selectedCreditoName = this.selectedCredito.nombreCredito;
|
||||
this.newItem._id = this.selectedCredito._id;
|
||||
console.log(this.selectedCredito);
|
||||
this.sumItems();
|
||||
}
|
||||
})
|
||||
@@ -330,7 +328,6 @@ export default {
|
||||
this.sumItems();
|
||||
},
|
||||
deleteCredito() {
|
||||
console.log(this.selectedCredito._id);
|
||||
const axiosHeader = {
|
||||
headers: {
|
||||
token: this.$store.state.auth.token,
|
||||
@@ -342,8 +339,7 @@ export default {
|
||||
this.$axios
|
||||
.delete("/Credito", axiosHeader)
|
||||
.then((res) => {
|
||||
console.log(res.data);
|
||||
|
||||
|
||||
this.selectedCredito = {
|
||||
_id: "",
|
||||
nombreCredito: "",
|
||||
|
||||
Reference in New Issue
Block a user