Не сделан фильтр с серилизатора

This commit is contained in:
iriska-gri committed 2023-09-13 16:59:21 +03:00
1 parent a815e59043
commit 74082b69ee
7 files changed
+53 -25

No files matched your search

+6 -5
View File
@@ -51,9 +51,9 @@
</v-container>
</v-card-text>
<v-card-actions class="pt-0">
<!-- <my-helper
:pretext="t_userComment"
/> -->
<my-helper
:pretext="t_baseCriteria"
/>
<small v-if="average < 5 || comment.length > 0" class="pl-5">
Вы оценили сайт на <span class="font-weight-black">{{average}}</span> {{myLabel()}}
</small>
@@ -97,7 +97,8 @@ export default {
.then(data => {
t_baseCriteria.value = data.data.results
t_baseCriteria.value.map(e=>
e.rating = e.get_criteria[0].rating
console.log(e,'e')
// e.rating = e.get_criteria[0].rating
)
})
}
@@ -106,7 +107,7 @@ export default {
axiosApiInstance.get(`api/feedback/userComment/`)
.then(data => {
t_userComment.value = data.data.results
comment.value=t_userComment.value[0].comment
comment.value=t_userComment.value[1].comment
})
}