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) + "..."; }