From f9dbd84643416099d873c5c872ffd54a7a7d77e6 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 14 Jul 2022 10:49:11 +0800 Subject: [PATCH] =?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 | 8 +++++--- src/views/portal/qa/Answer.vue | 10 +++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue index 68017b34..19c57bb5 100644 --- a/src/components/Portal/comments.vue +++ b/src/components/Portal/comments.vue @@ -96,7 +96,7 @@
'); + item.content = content; if(!item.isAll && item.content && item.content.length > 170) { return item.content.slice(0, 170) + "..."; } diff --git a/src/views/portal/qa/Answer.vue b/src/views/portal/qa/Answer.vue index b5d4f305..70961039 100644 --- a/src/views/portal/qa/Answer.vue +++ b/src/views/portal/qa/Answer.vue @@ -89,7 +89,8 @@
'); + item.content = content; if (!item.isAll && item.content.length > 170) { return item.content.slice(0, 170) + "..."; }