fix: truncate reply nicknames
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</view>
|
||||
|
||||
<view v-if="item.reply_to" class="comment-card__reply">
|
||||
<text class="comment-card__reply-user">回复 {{ item.reply_to.user?.nickname || '该用户' }}:</text>
|
||||
<text class="comment-card__reply-user">回复 {{ formatNickname(item.reply_to.user?.nickname || '该用户') }}:</text>
|
||||
<text class="comment-card__reply-content">{{ item.reply_to.content }}</text>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user