# 在移动设备上添加将链接移至汉堡菜单的功能

**URL:** https://meta.discourse.org/t/add-the-ability-to-move-a-link-to-the-hamburger-menu-on-mobile/277620
**Category:** Feature
**Tags:** custom-header-links
**Created:** [2019年五月6日 10:04 UTC](https://meta.discourse.org/t/add-the-ability-to-move-a-link-to-the-hamburger-menu-on-mobile/277620 "2019-05-06T10:04:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2019年五月6日 11:45 UTC](https://meta.discourse.org/t/add-the-ability-to-move-a-link-to-the-hamburger-menu-on-mobile/277620/2 "2019-05-06T11:45:04Z")

</div>

感谢分享你的工作 @syl 👍

该组件的目标非常明确，它允许你以最少的操作将链接添加到头部。因此，我们目前没有计划将仅限桌面的链接移至移动端的汉堡菜单中。

我们通常非常谨慎，不会引入任何破坏性变更，因此你完全可以维护该组件的一个分支，但这并不是我推荐的做法。

话虽如此，如果你能接受在移动端将部分链接放在汉堡菜单中，那么这些链接的重要性就不是最高的，原本就不需要出现在桌面端头部。你是否考虑过结合使用此组件与 [Custom Hamburger Menu Links](https://meta.discourse.org/t/custom-hamburger-menu-links/87644) 组件来实现这些链接？

这样的设置可以让你将最重要的链接放在头部，同时将次要的链接隐藏在桌面端和移动端的汉堡菜单中。

---

_[View the full topic](https://meta.discourse.org/t/add-the-ability-to-move-a-link-to-the-hamburger-menu-on-mobile/277620)._
