mirror of https://github.com/halo-dev/halo
👽 更改显示评论的逻辑,即评论之后需审核通过之后才能显示,并提升了用户体验。
parent
1b065a4214
commit
490375eaf6
|
@ -356,9 +356,9 @@
|
||||||
url: '/admin/posts/new/autoPush',
|
url: '/admin/posts/new/autoPush',
|
||||||
async: false,
|
async: false,
|
||||||
data: {
|
data: {
|
||||||
<#--<#if post??>-->
|
<#if post??>
|
||||||
<#--'postId': $('#postId').val(),-->
|
'postId': $('#postId').val(),
|
||||||
<#--</#if>-->
|
</#if>
|
||||||
'postStatus': 1,
|
'postStatus': 1,
|
||||||
'postTitle': Title,
|
'postTitle': Title,
|
||||||
'postUrl' : $('#postUrl').html().toString(),
|
'postUrl' : $('#postUrl').html().toString(),
|
||||||
|
|
Loading…
Reference in New Issue