|
@@ -11,6 +11,7 @@ import { thumbsUp, thumbsUpActive } from '../../../core/libs/svgs'
|
|
|
import { Comment } from '../../../core/libs/models'
|
|
|
import { dayjs } from 'wot-design-uni'
|
|
|
import { storeToRefs } from 'pinia'
|
|
|
+import CommentItem from './comment-item.vue'
|
|
|
|
|
|
// const props = defineProps({
|
|
|
// options: {
|
|
@@ -144,7 +145,7 @@ defineExpose({
|
|
|
</view>
|
|
|
</view>
|
|
|
<template v-for="(it, i) in data" :key="i">
|
|
|
- <comment-item
|
|
|
+ <CommentItem
|
|
|
:options="it"
|
|
|
:isChild="true"
|
|
|
@replay="
|
|
@@ -152,7 +153,7 @@ defineExpose({
|
|
|
"
|
|
|
@delete="emits('delete', index)"
|
|
|
@upvote="emits('upvote', index)"
|
|
|
- ></comment-item>
|
|
|
+ ></CommentItem>
|
|
|
</template>
|
|
|
</div>
|
|
|
</template>
|