mirror of https://github.com/halo-dev/halo
Fixed save post error.
parent
56f17183b3
commit
7e2bd70794
|
@ -576,6 +576,7 @@ body {
|
|||
.ant-comment {
|
||||
.ant-comment-actions {
|
||||
margin-bottom: 0 !important;
|
||||
margin-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
<template slot="actions">
|
||||
<span @click="handleCommentReplyClick(item)">回复</span>
|
||||
</template>
|
||||
<p slot="content">{{ item.content }}</p>
|
||||
<p slot="content" v-html="item.content"></p>
|
||||
<a-tooltip
|
||||
slot="datetime"
|
||||
:title="item.createTime | moment"
|
||||
|
|
|
@ -316,11 +316,11 @@ export default {
|
|||
},
|
||||
handlePublishClick() {
|
||||
this.postToStage.status = 'PUBLISHED'
|
||||
this.createOrUpdatePost()
|
||||
this.savePost()
|
||||
},
|
||||
handleDraftClick() {
|
||||
this.postToStage.status = 'DRAFT'
|
||||
this.createOrUpdatePost()
|
||||
this.savePost()
|
||||
},
|
||||
handlerRemoveThumb() {
|
||||
this.postToStage.thumbnail = null
|
||||
|
|
Loading…
Reference in New Issue