From 66aaf30fdd6134cc73cbbd9468b0faa53055ef9b Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Sat, 27 Apr 2024 10:35:48 +0300 Subject: [PATCH] image --- front/src/App.vue | 3 +++ front/src/stores/product.ts | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/front/src/App.vue b/front/src/App.vue index f33bc48..84df676 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -40,6 +40,9 @@ onMounted(async () => {
+
+ +
{{ state.active_product.description }}
diff --git a/front/src/stores/product.ts b/front/src/stores/product.ts index 1038d68..5f7dda7 100644 --- a/front/src/stores/product.ts +++ b/front/src/stores/product.ts @@ -26,6 +26,9 @@ export const useProductStore = defineStore('product', { export interface ProductInfo { id: number title: string - model3d: string description: string + model3d?: string + image1?: string + image2?: string + image3?: string } \ No newline at end of file