diff --git a/doc/datatable/colresize/ExpandModeDoc.vue b/doc/datatable/colresize/ExpandModeDoc.vue index 1356fd056..e1f615314 100644 --- a/doc/datatable/colresize/ExpandModeDoc.vue +++ b/doc/datatable/colresize/ExpandModeDoc.vue @@ -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(); diff --git a/doc/datatable/colresize/FitModeDoc.vue b/doc/datatable/colresize/FitModeDoc.vue index 85e090e16..0e3af94c9 100644 --- a/doc/datatable/colresize/FitModeDoc.vue +++ b/doc/datatable/colresize/FitModeDoc.vue @@ -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();