From fe3a506419f2a1daeeb4612ebc259c8fb2f56d0d Mon Sep 17 00:00:00 2001 From: daihh Date: Thu, 24 Nov 2022 21:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=9B=9E=E5=A4=8D=EF=BC=8C?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A=EF=BC=8C=EF=BC=8C=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E5=9B=9E=E5=A4=8D=E5=86=85=E5=AE=B9=E8=BF=87=E5=A4=9A?= =?UTF-8?q?=EF=BC=8C=E6=9C=80=E5=A4=9A=E6=98=BE=E7=A4=BA3=E6=9D=A1?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E6=9B=B4=E5=A4=9A=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E5=86=8D=E5=88=B73=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/comments.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue index 5602f3a4..99a59e1c 100644 --- a/src/components/Portal/comments.vue +++ b/src/components/Portal/comments.vue @@ -113,7 +113,7 @@
-
+
@@ -159,7 +159,7 @@
-
加载更多>>
+
加载更多>>
@@ -384,7 +384,8 @@ }, methods: { loadReplyMore(item){ - item.showAll=true; + item.showNum=item.showNum+3; + //item.showAll=true; }, loadMore() { this.pageIndex +=1; @@ -455,6 +456,7 @@ let ids=[]; let allList=[]; res.result.list.forEach(item=>{ + item.showNum=3; item.answers=item.replys; item.showAll=false; item.avatar='';