Fix user page pagination

This commit is contained in:
weiweitoo
2018-07-19 18:08:04 +08:00
parent d01f14d9f7
commit d97d7f4cb4
+3 -2
View File
@@ -396,14 +396,15 @@ export default {
this.getRate();
},
methods: {
getRate(){
getBooking(){
let $this = this
axios.get(this.url).then(response => {
this.bookingTable = response.data.data
$this.makePagination(response.data)
console.log(response)
})
},
getBooking() {
getRate() {
let $this = this
axios.get('api/rate').then(response => {
this.rate = response.data