# MD 话题列表移动组件

**URL:** <https://meta.discourse.org/t/md-topic-list-mobile-component/146341>\
**Category:** Theme component\
**Created:** [2020年三月31日 20:32 UTC](https://meta.discourse.org/t/md-topic-list-mobile-component/146341 "2020-03-31T20:32:10Z")\
**Posts on this page:** 1\
**Showing post:** 69

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [2026年五月26日 14:53 UTC](https://meta.discourse.org/t/md-topic-list-mobile-component/146341/69 "2026-05-26T14:53:17Z")

</div>

我在最新版本上进行了测试（提交：[https://github.com/discourse/discourse/commit/3c9549773b0c5c61a71bd01e68410e900d9d2747）](https://github.com/discourse/discourse/commit/3c9549773b0c5c61a71bd01e68410e900d9d2747%EF%BC%89)

功能正常，但出现了一条弃用通知

`[THEME 9 'MD 主题列表移动端'] 弃用通知：在站点初始化期间访问 `site.mobileView`或`site.desktopView` 可能导致浏览器窗口调整大小时出现错误和不一致。请将这些检查移至组件、转换器或页面渲染期间执行的 API 回调中。[自 Discourse 3.5.0.beta9-dev 起弃用] [弃用 ID: discourse.static-viewport-initialization] [信息：https://meta.discourse.org/t/367810]`

我会看看能做些什么，但至少目前不会导致崩溃。

---

_[View the full topic](https://meta.discourse.org/t/md-topic-list-mobile-component/146341)._
