Service typo fixes
parent
13da55a448
commit
e50d2380bd
|
@ -68,7 +68,7 @@ import { ref, onMounted } from 'vue';
|
|||
import { ProductService } from '@/service/ProductService';
|
||||
|
||||
onMounted(() => {
|
||||
productService.value.getProductsMini().then(data => products.value = data);
|
||||
ProductService.getProductsMini().then(data => products.value = data);
|
||||
});
|
||||
|
||||
const products = ref();
|
||||
|
|
|
@ -71,7 +71,7 @@ import { ref, onMounted } from 'vue';
|
|||
import { ProductService } from '@/service/ProductService';
|
||||
|
||||
onMounted(() => {
|
||||
productService.value.getProductsMini().then(data => products.value = data);
|
||||
ProductService.getProductsMini().then(data => products.value = data);
|
||||
});
|
||||
|
||||
const products = ref();
|
||||
|
|
Loading…
Reference in New Issue