From 7ea8960805ae0ed737d7c99ddbd4820856a23b9c Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 22 Jul 2019 13:46:50 +0300 Subject: [PATCH] Added source code --- src/views/picklist/PickListDoc.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/picklist/PickListDoc.vue b/src/views/picklist/PickListDoc.vue index 1d3dc9859..4e4a425a7 100644 --- a/src/views/picklist/PickListDoc.vue +++ b/src/views/picklist/PickListDoc.vue @@ -220,9 +220,12 @@ import PickList from 'primevue/picklist'; @@ -248,7 +251,7 @@ export default { this.carService = new CarService(); }, mounted() { - this.carService.getCarsSmall().then(data => this.cars = data.slice(0,5)); + this.carService.getCarsSmall().then(data => this.cars = [data.slice(0,5),[]]); } }