Browse Source

circle page

邹能昇 3 months ago
parent
commit
cf483ac23a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      nova-werun/components/circle-card/index.js

+ 2 - 2
nova-werun/components/circle-card/index.js

@@ -167,7 +167,6 @@ Component({
             let moment = await AIMomentCommentquery.first()
             if (moment) {
                 moment.set('isLiked', this.data.isclick)
-                // moment.set('isDeleted', true)
                 try {
                     let saveDate = await moment.save();
                     this.showchick()
@@ -402,10 +401,11 @@ Component({
             if (!this.data.isCommentFocused) { // 只有在没有评论聚焦时才重置
                 const updatedCommentList = this.data.commentList.map(comment => ({
                     ...comment,
-                    showdeletid: false // 重置所有评论的 showdeletid
+                    showdeletid: false ,// 重置所有评论的 showdeletid
                 }));
 
                 this.setData({
+                    isgood:false,
                     commentList: updatedCommentList,
                     focusedCommentId: null // 清除聚焦状态
                 });