pull/34/head
ruibaby 2019-06-30 13:36:51 +08:00
parent 11b9e2c119
commit 24ebf4199d
1 changed files with 5 additions and 1 deletions

View File

@ -408,7 +408,11 @@ export default {
this.selectComment = comment
this.replyCommentVisible = true
this.replyComment.parentId = comment.id
this.replyComment.postId = comment.post.id
if (this.type === 'posts') {
this.replyComment.postId = comment.post.id
} else {
this.replyComment.postId = comment.sheet.id
}
},
handleCreateClick() {
commentApi.create(this.type, this.replyComment).then(response => {