某些论坛上,徽章页面显示 NaN 而不是数字

我想我找到了。这与 DEV: Replace deprecated Ember's array `.pushObjects` by megothss · Pull Request #35663 · discourse/discourse · GitHub 中的更改有关。该更改使 userBadges 成为一个数组,但 othersCount 仍然期望一个具有 grant_count 值的对象。

2 个赞