mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 20:09:41 +08:00
fix(comment): 修复评论标签显示错误问题,#55
This commit is contained in:
parent
d3971cb53d
commit
7e2bcb3ef1
@ -415,7 +415,7 @@ const commonContext = {
|
||||
`.widget-comment[data-id='${id}'][data-target='${target}']`,
|
||||
'/plugins/PluginCommentWidget/assets/static/style.css',
|
||||
{
|
||||
group: 'content.halo.run',
|
||||
group: target === 'Moment' ? 'moment.halo.run' : 'content.halo.run',
|
||||
kind: target,
|
||||
name: id,
|
||||
colorScheme: window.dataTheme
|
||||
|
2
templates/assets/js/common.min.js
vendored
2
templates/assets/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@ -30,7 +30,7 @@
|
||||
<span class="journal-operation-item" th:if="${enableComment}">
|
||||
<a class="comment">
|
||||
<i class="ri-message-3-line"></i>
|
||||
<em th:text="${(moment.stats.approvedComment != 0)? moment.stats.approvedComment : '评论'}"></em>
|
||||
<em th:text="${(moment.stats.totalComment != 0)? moment.stats.totalComment : '评论'}"></em>
|
||||
</a>
|
||||
</span>
|
||||
<span class="journal-operation-item" th:if="${enableShare}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user