Skip to content

Commit

Permalink
修复评论
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDraven committed Nov 4, 2019
1 parent 0897a23 commit 77244af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,11 @@
computed: {
commentLists:function() {
this.commentList = this.$store.state.CommentList.slice()
if (this.$store.state.CommentList.slice().length ==0) {
this.commentList = []
}
return this.$store.state.CommentList
},
article:function(){
Expand Down

0 comments on commit 77244af

Please sign in to comment.