From 7e666e7d8b7772f9ed689efee6e2a8603e9fc35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Mon, 4 Dec 2023 16:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=AC=E4=B9=A6=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/talkBook/talkBookDetail.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/talkBook/talkBookDetail.vue b/pages/talkBook/talkBookDetail.vue index b7da3d5..37f97d8 100644 --- a/pages/talkBook/talkBookDetail.vue +++ b/pages/talkBook/talkBookDetail.vue @@ -79,7 +79,7 @@ - {{item.user.nickName}} + {{item.user.nickname}} 匿名用户 @@ -411,7 +411,6 @@ }, }) .then(res => { - this.plList = [] console.log(res, '书评评论') // this.plList = this.plList.concat(res.page.list) let plList1 = res.page.records @@ -525,8 +524,11 @@ // comment.comments = [] // this.plList.unshift(comment) + this.plList = [] + this.pPage = 1 this.getCommPL() + }).catch(e => { console.log(e, 'e') }); @@ -558,6 +560,9 @@ title: '删除成功', icon: 'success' }) + + _this.plList = [] + _this.pPage = 1 _this.getCommPL() } }).catch((e) => { @@ -822,7 +827,8 @@ .plusername { font-size: 26rpx; color: #a1a1a1; - image{ + + image { width: 40rpx; height: 40rpx; border-radius: 20rpx;