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 {
|
||||||
.ant-comment-actions {
|
.ant-comment-actions {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
margin-top: 0 !important;
|
||||||
padding-bottom: 0 !important;
|
padding-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
<template slot="actions">
|
<template slot="actions">
|
||||||
<span @click="handleCommentReplyClick(item)">回复</span>
|
<span @click="handleCommentReplyClick(item)">回复</span>
|
||||||
</template>
|
</template>
|
||||||
<p slot="content">{{ item.content }}</p>
|
<p slot="content" v-html="item.content"></p>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
slot="datetime"
|
slot="datetime"
|
||||||
:title="item.createTime | moment"
|
:title="item.createTime | moment"
|
||||||
|
|
|
@ -316,11 +316,11 @@ export default {
|
||||||
},
|
},
|
||||||
handlePublishClick() {
|
handlePublishClick() {
|
||||||
this.postToStage.status = 'PUBLISHED'
|
this.postToStage.status = 'PUBLISHED'
|
||||||
this.createOrUpdatePost()
|
this.savePost()
|
||||||
},
|
},
|
||||||
handleDraftClick() {
|
handleDraftClick() {
|
||||||
this.postToStage.status = 'DRAFT'
|
this.postToStage.status = 'DRAFT'
|
||||||
this.createOrUpdatePost()
|
this.savePost()
|
||||||
},
|
},
|
||||||
handlerRemoveThumb() {
|
handlerRemoveThumb() {
|
||||||
this.postToStage.thumbnail = null
|
this.postToStage.thumbnail = null
|
||||||
|
|
Loading…
Reference in New Issue