From 0162e1a9b76928545ba81cdb59b80917b9219620 Mon Sep 17 00:00:00 2001 From: AoXuan Date: Tue, 2 Sep 2025 01:41:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ScriptTable):=20=E5=A4=87=E6=B3=A8?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E9=95=BF=E5=BA=A6=E8=B0=83=E6=95=B4=E4=B8=BA?= =?UTF-8?q?10=E6=B1=89=E5=AD=97/=E5=AD=97=E6=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ScriptTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ScriptTable.vue b/frontend/src/components/ScriptTable.vue index e202d88..9c1cefb 100644 --- a/frontend/src/components/ScriptTable.vue +++ b/frontend/src/components/ScriptTable.vue @@ -382,7 +382,7 @@ function get_annihilation_name(annihilation_name) { return '未开启' } -const truncateText = (text: string, maxLength: number = 20): string => { +const truncateText = (text: string, maxLength: number = 10): string => { if (!text) return '' return text.length > maxLength ? text.substring(0, maxLength) + '...' : text }