From b6c2372242f5dedee0582d3186dd59a463198110 Mon Sep 17 00:00:00 2001 From: RogerWork Date: Thu, 5 Jun 2025 18:05:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=8D=A2=E8=A1=8C=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 4b51fed..7af75c7 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -125,11 +125,11 @@ onMounted( - + @@ -141,7 +141,7 @@ onMounted( popper-class="custom-tooltip" effect="dark" :raw-content="true" - :content="row.prd_comment" + :content="row.prd_comment.split('\n').join('
')" placement="top-end"> {{ row.prd_comment.length > 10 ? row.prd_comment.slice(0, 10) + '...' : row.prd_comment }}