cosmetics
parent
1a43e8a6f2
commit
ca9bdc2892
|
@ -57,7 +57,7 @@ import ProductService from '../../service/ProductService';
|
|||
import InplaceDoc from './InplaceDoc';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
data() {
|
||||
return {
|
||||
text: null,
|
||||
products: null
|
||||
|
@ -69,7 +69,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
loadData() {
|
||||
this.productService.getProductsSmall().then(data => this.products = data);
|
||||
this.productService.getProductsSmall().then(data => this.products = data);
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -66,7 +66,7 @@ import Inplace from 'primevue/inplace';
|
|||
import CarService from '../../service/CarService';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
data() {
|
||||
return {
|
||||
cars: null
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
loadData() {
|
||||
this.carService.getCarsSmall().then(data => this.cars = data);
|
||||
this.carService.getCarsSmall().then(data => this.cars = data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ export default {
|
|||
import ProductService from './service/ProductService';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
data() {
|
||||
return {
|
||||
text: null,
|
||||
products: null
|
||||
|
@ -262,7 +262,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
loadData() {
|
||||
this.productService.getProductsSmall().then(data => this.products = data);
|
||||
this.productService.getProductsSmall().then(data => this.products = data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue