diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue index 423ec7bf..d93c5977 100644 --- a/src/components/Portal/comments.vue +++ b/src/components/Portal/comments.vue @@ -36,8 +36,7 @@ class="reference-tag" v-for="item in toUsers" :key="item.aid" - :label="item.aid">{{ item.name }} + :label="item.aid">{{ item.name }} @@ -58,7 +57,7 @@ type="textarea" class="hideControl" show-word-limit - v-model="inputValue" + v-model.trim="inputValue" maxlength="800" placeholder="写下您的评论(800字以内),可以@作者哦~" > @@ -114,7 +113,7 @@