# 在将 header 元素加载到 DOM 时遇到问题

**URL:** <https://meta.discourse.org/t/facing-issue-with-header-element-loading-into-the-dom/331107>\
**Category:** Support\
**Created:** [2024年十月16日 06:39 UTC](https://meta.discourse.org/t/facing-issue-with-header-element-loading-into-the-dom/331107 "2024-10-16T06:39:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep\_jadhav.N](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sandeep_jadhav.n/32/356272_2.png) [@sandeep\_jadhav.N](https://meta.discourse.org/u/sandeep_jadhav.N)\
**Post date:** [2024年十月16日 06:39 UTC](https://meta.discourse.org/t/facing-issue-with-header-element-loading-into-the-dom/331107/1 "2024-10-16T06:39:04Z")

</div>

您好团队，  
我正在动态地将一个 HTML 元素添加到我的标题中。  
有时，DOM 会在没有动态 HTML 元素的情况下加载。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2024年十月16日 16:21 UTC](https://meta.discourse.org/t/facing-issue-with-header-element-loading-into-the-dom/331107/2 "2024-10-16T16:21:35Z")

</div>

您需要添加更多关于您如何添加（初始化器？组件？hbs 和插件出口？）以及添加到哪里去的详细信息，这样任何人才能对问题有所了解，更不用说如何解决了。
