diff --git a/pages/post/_id.vue b/pages/post/_id.vue index 6a25103..13d86df 100644 --- a/pages/post/_id.vue +++ b/pages/post/_id.vue @@ -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%