From 9c201bade14469b9d3a6a39c7eb5ef30fe9ec1cd Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 8 Jul 2022 11:34:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/comments.vue | 11 +- src/views/portal/qa/Answer.vue | 1098 +++++++++++++++------------- 2 files changed, 603 insertions(+), 506 deletions(-) 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 @@