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