Fix(评论):[#4048]应该显示被回复at的用户昵称

This commit is contained in:
lifizer
2025-07-16 09:42:55 +08:00
parent e96339e7e2
commit f33507f902
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -314,6 +314,7 @@ export default {
atUid: this.currentComment.uid || null atUid: this.currentComment.uid || null
} }
addComment(params).then((res) => { addComment(params).then((res) => {
uni.hideLoading()
this.init() this.init()
this.reply = '' this.reply = ''
this.currentComment = {} this.currentComment = {}
+1 -1
View File
@@ -34,7 +34,7 @@
{{ comment.parentReply }} {{ comment.parentReply }}
</view> </view>
<view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)"> <view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)">
<text class="v12-dark1-text">{{ "@" + comment.senderUserNickname }}</text> <text class="v12-dark1-text">{{ "@" + comment.replyAt.atNickName }}</text>
{{ ' ' + comment.reply }} {{ ' ' + comment.reply }}
</view> </view>
<view class="v12-mt-3"> <view class="v12-mt-3">