fix: rating

This commit is contained in:
zzc
2026-05-26 10:01:46 +08:00
parent 02bfefa58c
commit b3f7609494
3 changed files with 39 additions and 4 deletions

View File

@@ -220,6 +220,7 @@ const getCommentsData = async () => {
time: formatDate(item.createdAt) || '刚刚', // 如果后端返回了时间字段可以替换
content: item.content,
likes: item.likeCount || 0,
isLiked: item.isLiked || false,
badge: '', // 预留徽章字段
badgeIcon: '',
userAction: item.userAction || "" // 夯/顶级/人上人/NPC/拉