DataTable demo updates
parent
f8f5be9e78
commit
048b8d267a
|
@ -50,7 +50,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
ProductService.getProductsSmall().then((data) => (this.products = data));
|
ProductService.getProductsMini().then((data) => (this.products = data));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
<\/script>`,
|
<\/script>`,
|
||||||
|
@ -71,7 +71,7 @@ import { ref, onMounted } from 'vue';
|
||||||
import { ProductService } from '@/service/ProductService';
|
import { ProductService } from '@/service/ProductService';
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
productService.value.getProductsSmall().then(data => products.value = data);
|
productService.value.getProductsMini().then(data => products.value = data);
|
||||||
});
|
});
|
||||||
|
|
||||||
const products = ref();
|
const products = ref();
|
||||||
|
@ -94,7 +94,7 @@ const products = ref();
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
ProductService.getProductsSmall().then((data) => (this.products = data));
|
ProductService.getProductsMini().then((data) => (this.products = data));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -53,7 +53,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
ProductService.getProductsSmall().then((data) => (this.products = data));
|
ProductService.getProductsMini().then((data) => (this.products = data));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
<\/script>`,
|
<\/script>`,
|
||||||
|
@ -74,7 +74,7 @@ import { ref, onMounted } from 'vue';
|
||||||
import { ProductService } from '@/service/ProductService';
|
import { ProductService } from '@/service/ProductService';
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
productService.value.getProductsSmall().then(data => products.value = data);
|
productService.value.getProductsMini().then(data => products.value = data);
|
||||||
});
|
});
|
||||||
|
|
||||||
const products = ref();
|
const products = ref();
|
||||||
|
@ -97,7 +97,7 @@ const products = ref();
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
ProductService.getProductsSmall().then((data) => (this.products = data));
|
ProductService.getProductsMini().then((data) => (this.products = data));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue