Remove some unnessary console.log

This commit is contained in:
weiweitoo
2018-07-19 18:01:16 +08:00
parent ef200257b3
commit d01f14d9f7
3 changed files with 2 additions and 5 deletions
@@ -130,7 +130,6 @@ export default {
let $this = this
axios.get('/api/rate').then(response => {
this.rate = response.data
console.log(this.rate);
})
},
createRate: function () {
@@ -145,7 +144,6 @@ export default {
x2_ba: this.rateForm.x2_ba
}
console.log(newRate)
axios.post('/api/update-rate', newRate)
.then((response) => {
this.loading = false
+2 -2
View File
@@ -1,5 +1,4 @@
<template>
<el-main>
<!-- Input-Amount -->
@@ -441,13 +440,14 @@ export default {
})
},
makePagination(data){
let pagination = {
let pagination ={
current_page: data.current_page,
last_page: data.last_page,
next_page_url: data.next_page_url,
prev_page_url: data.prev_page_url
}
this.pagination = pagination
console.log(this.pagination)
},
fetchPaginateBooking(url) {
this.url = url
@@ -25,7 +25,6 @@ export const mutations = {
},
[types.FETCH_USER_SUCCESS] (state, { user }) {
console.log(user)
state.user = user
state.role = user.role
},