diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue index 2a19409f..40cebe65 100644 --- a/src/components/Portal/comments.vue +++ b/src/components/Portal/comments.vue @@ -455,6 +455,7 @@ let ids=[]; let allList=[]; res.result.list.forEach(item=>{ + item.answers=item.replys; item.showAll=false; item.avatar=''; item.orgInfo=''; diff --git a/src/components/Portal/noteComment.vue b/src/components/Portal/noteComment.vue index f6b82ecd..8ed19323 100644 --- a/src/components/Portal/noteComment.vue +++ b/src/components/Portal/noteComment.vue @@ -341,6 +341,7 @@ let ids=[]; let allList=[]; res.result.list.forEach(item=>{ + item.answers=item.comments; item.showAll=false; item.title = this.name; item.replyList = []; @@ -353,6 +354,7 @@ ids.push(item.sysCreateAid); if(item.replyList && item.replyList!=''){ item.replyList.forEach(reply=>{ + reply.answers=reply.comments; reply.title=this.name; reply.avatar=''; reply.orgInfo='';