# 无限滚动失效，无法访问属性 'loadMore'

**URL:** https://meta.discourse.org/t/infinite-scroll-broken-cant-access-property-loadmore/403699
**Category:** Bug
**Tags:** user-card-directory, fixed
**Created:** [2026年五月23日 17:36 UTC](https://meta.discourse.org/t/infinite-scroll-broken-cant-access-property-loadmore/403699 "2026-05-23T17:36:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ryan\_Hyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_hyer/32/159861_2.png) [@Ryan\_Hyer](https://meta.discourse.org/u/Ryan_Hyer)
#### Post date: [2026年五月23日 17:36 UTC](https://meta.discourse.org/t/infinite-scroll-broken-cant-access-property-loadmore/403699/1 "2026-05-23T17:36:34Z")

</div>

当此主题组件启用时，尝试滚动到用户列表第一页之后，会出现一个短暂的加载旋转图标，但很快便放弃加载，没有更多用户被加载。浏览器控制台中显示如下错误：

`Uncaught TypeError: can't access property "loadMore", this.model is undefined`

如果禁用该主题组件，加载更多用户的功能则完全正常。我的 Discourse 安装以及所有插件和主题组件（包括此组件）截至今天早上均已更新至最新版本。有人知道如何修复吗？谢谢！

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2026年五月26日 15:01 UTC](https://meta.discourse.org/t/infinite-scroll-broken-cant-access-property-loadmore/403699/3 "2026-05-26T15:01:56Z")

</div>

感谢您的反馈，我们已立即应用了修复。如果更新后您仍遇到任何问题，请随时告知我们！

> <https://github.com/discourse/discourse-user-card-directory/pull/74>
>
> Reported here: https://meta.discourse.org/t/infinite-scroll-broken-cant-access-p…roperty-loadmore/403699
> 
> Infinite scroll was crashing due to some core changes with the \`LoadMore\` component, and there was a secondary issue with newly appended cards not rendering which is fixed by updating the getter to \`@cached\` for proper reactivity following the core model change.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2026年五月29日 15:02 UTC](https://meta.discourse.org/t/infinite-scroll-broken-cant-access-property-loadmore/403699/5 "2026-05-29T15:02:26Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
