From d97d7f4cb49eda4853eb3395546faad11d674740 Mon Sep 17 00:00:00 2001 From: weiweitoo Date: Thu, 19 Jul 2018 18:08:04 +0800 Subject: [PATCH] Fix user page pagination --- resources/assets/js/pages/home.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index 945646a9..46a63bea 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -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