# 帖子徽章

**URL:** <https://meta.discourse.org/t/post-badges/114722>\
**Category:** Theme component\
**Tags:** post-badges, experimental\
**Created:** [2019年四月11日 03:52 UTC](https://meta.discourse.org/t/post-badges/114722 "2019-04-11T03:52:50Z")\
**Posts on this page:** 1\
**Showing post:** 138

<div class="post-metadata">

**Author:** ![md-misko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/md-misko/32/126315_2.png) [@md-misko](https://meta.discourse.org/u/md-misko)\
**Post date:** [2021年十一月12日 15:28 UTC](https://meta.discourse.org/t/post-badges/114722/138 "2021-11-12T15:28:04Z")

</div>

此组件在 [New installs will default to Ember CLI builds in Production](https://meta.discourse.org/t/new-installs-will-default-to-ember-cli-builds-in-production/208282/1) 中存在问题

```plaintext
_application-fe5f714a0b25da04a163bd904e96336e.js:6171 
        
       “帖子徽章”主题/组件中发生错误：TypeError：无法读取未定义属性（读取“currentProp”）
    at 6dd3e4df7d5d30781da2109aaad4015405b3f832.js?__ws=discourse.myforum.tld:108
    at e.withPluginApi (_application-fe5f714a0b25da04a163bd904e96336e.js:4070)
    at Object.initialize (6dd3e4df7d5d30781da2109aaad4015405b3f832.js?__ws=discourse.myforum.tld:107)
    at Object.s.initialize (_application-fe5f714a0b25da04a163bd904e96336e.js:60)
    at _vendor-89acebf53895afcc5339ec7eda71567e.js:2730
    at e.each (_vendor-89acebf53895afcc5339ec7eda71567e.js:4074)
    at e.walk (_vendor-89acebf53895afcc5339ec7eda71567e.js:4064)
    at e.each (_vendor-89acebf53895afcc5339ec7eda71567e.js:4056)
    at e.topsort (_vendor-89acebf53895afcc5339ec7eda71567e.js:4056)
    at n._runInitializer (_vendor-89acebf53895afcc5339ec7eda71567e.js:2733)
(anonymous) @ _application-fe5f714a0b25da04a163bd904e96336e.js:6171
_application-fe5f714a0b25da04a163bd904e96336e.js:4072 
        
       为防止错误，请在调用 `modifyClass` 时为更改添加 `pluginId` 键
ie @ _application-fe5f714a0b25da04a163bd904e96336e.js:4072
_application-fe5f714a0b25da04a163bd904e96336e.js:4072 

```

---

_[View the full topic](https://meta.discourse.org/t/post-badges/114722)._
