|
@@ -1,6 +1,6 @@
|
|
|
<script setup lang="ts">
|
|
|
import { useUserStore } from '../../../store'
|
|
|
-import { createCircleReviewUpvote } from '../../../core/libs/requests'
|
|
|
+import { createCircleReviewUpvote, getReviewReplay } from '../../../core/libs/requests'
|
|
|
import { thumbsUp } from '../../../core/libs/svgs'
|
|
|
import { Comment } from '../../../core/models/moment'
|
|
|
import { dayjs } from 'wot-design-uni'
|
|
@@ -29,6 +29,10 @@ const handleUpvote = async () => {
|
|
|
code === 0 && uni.showToast({ title: '点赞成功', icon: 'none' })
|
|
|
emits('upvote')
|
|
|
}
|
|
|
+onMounted(async () => {
|
|
|
+ const { data } = await getReviewReplay({ id: props.options.id.toString() })
|
|
|
+ console.log(data)
|
|
|
+})
|
|
|
</script>
|
|
|
<template>
|
|
|
<view class="grid grid-cols-[28px_1fr_28px] gap-2.5" :class="isChild ? 'ml-9' : ''">
|