Fixed save post error.

pull/3445/head
ruibaby 2019-05-09 21:12:15 +08:00
parent 56f17183b3
commit 7e2bd70794
3 changed files with 4 additions and 3 deletions

View File

@ -576,6 +576,7 @@ body {
.ant-comment {
.ant-comment-actions {
margin-bottom: 0 !important;
margin-top: 0 !important;
padding-bottom: 0 !important;
}
}

View File

@ -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"

View File

@ -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