From 2d6703e45b8787c29b7f654ac134aef9de323f40 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 2 Jul 2020 18:17:07 +0300 Subject: [PATCH] Update deferred demo --- src/service/CustomerService.js | 2 +- src/views/datatable/DataTableColGroupDemo.vue | 2 -- .../deferredcontent/DeferredContentDemo.vue | 21 ++++++++++--------- .../deferredcontent/DeferredContentDoc.vue | 20 +++++++++--------- 4 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/service/CustomerService.js b/src/service/CustomerService.js index 70c62a1b2..048becd72 100755 --- a/src/service/CustomerService.js +++ b/src/service/CustomerService.js @@ -1,6 +1,6 @@ import axios from 'axios' -export default class CarService { +export default class CustomerService { getCustomersSmall() { return axios.get('demo/data/customers-small.json').then(res => res.data.data); diff --git a/src/views/datatable/DataTableColGroupDemo.vue b/src/views/datatable/DataTableColGroupDemo.vue index c2f70b877..0b4476fdf 100755 --- a/src/views/datatable/DataTableColGroupDemo.vue +++ b/src/views/datatable/DataTableColGroupDemo.vue @@ -119,7 +119,6 @@ export default { sales: null } }, - carService: null, created() { this.sales = [ {product: 'Bamboo Watch', lastYearSale: 51, thisYearSale: 40, lastYearProfit: 54406, thisYearProfit: 43342}, @@ -172,7 +171,6 @@ export default { sales: null } }, - carService: null, created() { this.sales = [ {product: 'Bamboo Watch', lastYearSale: 51, thisYearSale: 40, lastYearProfit: 54406, thisYearProfit: 43342}, diff --git a/src/views/deferredcontent/DeferredContentDemo.vue b/src/views/deferredcontent/DeferredContentDemo.vue index 6571db091..ca751a66c 100755 --- a/src/views/deferredcontent/DeferredContentDemo.vue +++ b/src/views/deferredcontent/DeferredContentDemo.vue @@ -21,11 +21,11 @@ - - - - - + + + + + @@ -34,26 +34,27 @@ +