diff --git a/pagesInn/inn/innInfoDetail.vue b/pagesInn/inn/innInfoDetail.vue
index d204d44..099a0e9 100644
--- a/pagesInn/inn/innInfoDetail.vue
+++ b/pagesInn/inn/innInfoDetail.vue
@@ -142,7 +142,7 @@
- {{ _comment.reply.split(' ')[0] }}
+ {{ "@" +_comment.at.atNickName }}
{{ ' ' + _comment.reply.split(' ')[1] }}
@@ -241,8 +241,8 @@ export default {
return
}
// 若删除@用户名,将@用户名整个删除
- const usernameLength = `@${this.currentComment.userNickName}`.length
- if(!e.includes(`@${this.currentComment.userNickName}`) && this.currentComment.userNickName) {
+ const usernameLength = `@${this.currentComment.userNickName} `.length
+ if(!e.includes(`@${this.currentComment.userNickName} `) && this.currentComment.userNickName) {
this.currentComment = {}
this.reply = e.slice(usernameLength - 1); // 去除@用户名
}
diff --git a/pkg_common/views/message.vue b/pkg_common/views/message.vue
index 1618c7f..4e0d710 100644
--- a/pkg_common/views/message.vue
+++ b/pkg_common/views/message.vue
@@ -29,10 +29,13 @@
+
+
{{ comment.parentReply }}
- {{ comment.reply }}
+ {{ "@" +comment.senderUserNickname }}
+ {{ ' ' + comment.reply.split(' ')[1] }}