添加评论功能

This commit is contained in:
yi-ge 2020-07-17 12:04:14 +08:00
parent 3121a2bdb5
commit 4241d13d33

View File

@ -493,6 +493,9 @@ export default {
})
if (data.status === 1) {
this.replyID = null
this.replyLastID = null
window.location.hash = '_'
//
const tmp = await this.$axios.get(process.env.baseURL + `/public/comments/post?ID=${postID}`)
const comments = tmp.data.result.list || []
@ -685,6 +688,7 @@ export default {
.comment-content
width 100%
padding 5px 0
img
max-width 100%