# 审核队列似乎显示帖子内容重复

**URL:** <https://meta.discourse.org/t/review-of-review-queue-seems-to-show-duplicated-post-bodies/279819>\
**Category:** Bug\
**Tags:** review-queue\
**Created:** [2023 年9 月 22 日 19:22 UTC](https://meta.discourse.org/t/review-of-review-queue-seems-to-show-duplicated-post-bodies/279819 "2023-09-22T19:22:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![ted](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ted/32/283882_2.png) [@ted](https://meta.discourse.org/u/ted)\
发布日期： [2023 年9 月 29 日 08:57 UTC](https://meta.discourse.org/t/review-of-review-queue-seems-to-show-duplicated-post-bodies/279819/9 "2023-09-29T08:57:25Z")

</div>

感谢您的报告，@Philip_Montgomery！

感谢@simon出色的调查工作，我很快就能够复现此问题并创建了一个修复程序，该程序现已合并：

> <https://github.com/discourse/discourse/pull/23709>
>
> \### What is the problem?
> 
> When navigating between renewables through the Ember… router, e.g. through the links in the notifications menu:
> 
> \<img width="236" alt="Screenshot 2023-09-29 at 9 58 30 AM" src="https://github.com/discourse/discourse/assets/5259935/5e44d885-51c5-42cb-8b12-0b43934a0af4"\>
> 
> the body of the reviewable (rendered by the \`CookText\` component) won't update, resulting in the same post body incorrectly being shown for all subsequent reviewables.
> 
> This is happening because there is no update path between the \`rawText\` attribute being passed to \`CookText\` and the computed \`cooked\` attribute, since this is being set explicitly using an async function.
> 
> \### How does this fix it?
> 
> This PR adds the missing link between \`rawText\` and \`cooked\` by listening for \`didUpdate\` and triggering the async function.
> 
> \### Verification
> 
> \*\*Before:\*\*
> 
> !\[reviewable-body-before\](https://github.com/discourse/discourse/assets/5259935/dd80ae21-8e1b-41d7-99d5-95e8a1be2ad2)
> 
> \*\*After:\*\*
> 
> !\[reviewable-body-after\](https://github.com/discourse/discourse/assets/5259935/94ca289e-ed9b-4399-bff6-2564fe5a081d)

---

_[View the full topic](https://meta.discourse.org/t/review-of-review-queue-seems-to-show-duplicated-post-bodies/279819)._
