From 85cb116e280110f6aef1ce9670c268e369944501 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Mon, 18 May 2026 16:02:59 +0330 Subject: [PATCH] Updated --- .../components/product/ProductComments.vue | 29 ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/frontend/components/product/ProductComments.vue b/frontend/components/product/ProductComments.vue index be37d77..9137445 100644 --- a/frontend/components/product/ProductComments.vue +++ b/frontend/components/product/ProductComments.vue @@ -40,7 +40,7 @@ watch( selectedRating.value = 5; } }, - { immediate: true } + { immediate: true }, ); const canSubmitComment = computed(() => { @@ -70,7 +70,7 @@ const submitComment = async () => { promises.push( rateProduct({ rating: selectedRating.value, - }) + }), ); } @@ -112,7 +112,10 @@ const limitedComments = computed(() => { @submit.prevent="submitComment" class="flex flex-col gap-6" > -
+
امتیاز قبلی شما
@@ -127,14 +130,23 @@ const limitedComments = computed(() => { - {{ props.product.user_rating }} + {{ + props.product.user_rating + }}
-
+
امتیاز شما