# 为什么整个主题都显示点赞数？

**URL:** https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146
**Category:** Support
**Created:** [2025年六月21日 10:30 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146 "2025-06-21T10:30:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [2025年六月21日 10:30 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/1 "2025-06-21T10:30:12Z")

</div>

刚注意到，在主页上，点赞数显示的是整个帖子的点赞数，而不是第一篇帖子的点赞数。这是正常行为还是我修改论坛后可能出现的 bug？

 ![图片显示了一个社交媒体帖子，文字写着“3小时后：只讲了 0 个教学大纲内容，但我们知道每个人都爱……”，旁边有一个非营利组织的角色图标，有六个点赞和一个评论。（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/6/9/7/697ba7d81b124f6f7838ac9d6ecbcdfb60d10a86.jpeg)

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [2025年六月21日 10:33 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/2 "2025-06-21T10:33:50Z")

</div>

您正在使用哪个主题或组件？这可能与此有关。

如果我没记错的话，点赞列显示的是该主题的总点赞数，但请随时纠正我。

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2025年六月21日 10:34 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/3 "2025-06-21T10:34:53Z")

</div>

> [@NateDhaliwal](#):
>
> 您正在使用哪个主题或组件？这可能与该组件有关。

不，这些数字被序列化到主题列表中，这只能由后端或有权访问它的插件控制。

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [2025年六月21日 10:36 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/4 "2025-06-21T10:36:08Z")

</div>

这是一个自定义的，并且刚刚查看它不是由主题处理的。

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [2025年六月21日 10:37 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/5 "2025-06-21T10:37:39Z")

</div>

我想我把自己搞糊涂了。我对整个话题的点赞数有些想法，但我写的部分是指显示在那篇帖子上的点赞数（我猜是话题帖）。

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2025年六月21日 10:38 UTC](https://meta.discourse.org/t/why-does-the-like-count-show-for-the-entire-topic/371146/6 "2025-06-21T10:38:21Z")

</div>

是的，这是常规的主题列表序列化的一部分，我记得它计算了所有点赞数：

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/1/b/61b38126c5d14d9cafeeddcaba7d57b2229ebfa5.png)
