From 00d2dfba125e66a3173ca9583ed1c7e165930f19 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Thu, 27 Oct 2022 13:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A1=88=E4=BE=8B=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=AD=97=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index cd3af70e..37eb48d2 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -96,7 +96,7 @@ {{displayAll(item)}} - + {{item.isAll?'收起':'展开'}} @@ -373,8 +373,8 @@ export default { }, //展示全部 displayAll(item) { - if (!item.isAll && item.summary && item.summary.length > 180) { - return item.summary.slice(0, 180) + "..."; + if (!item.isAll && item.summary && item.summary.length > 150) { + return item.summary.slice(0, 150) + "..."; } return item.summary; },