From 10ba0cc6c6111b7d15f5b338ca9db25ec1169260 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 17 Jul 2024 17:44:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E8=AF=A6=E6=83=85=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0=E5=88=A0=E9=99=A4=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E8=B6=85?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../caseManagementFeature/components/tabContent/tabDetail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue index 2075c393fc..763a3bef3c 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue @@ -282,7 +282,7 @@ import { useI18n } from '@/hooks/useI18n'; import useModal from '@/hooks/useModal'; import useAppStore from '@/store/modules/app'; - import { downloadByteFile, getGenerateId, sleep } from '@/utils'; + import { characterLimit, downloadByteFile, getGenerateId, sleep } from '@/utils'; import { scrollIntoView } from '@/utils/dom'; import type { AssociatedList, DetailCase, StepList } from '@/models/caseManagement/featureCase'; @@ -527,7 +527,7 @@ } else { openModal({ type: 'error', - title: t('caseManagement.featureCase.deleteFile', { name: item?.name }), + title: t('caseManagement.featureCase.deleteFile', { name: characterLimit(item?.name) }), content: t('caseManagement.featureCase.deleteFileTip'), okText: t('common.confirmDelete'), cancelText: t('common.cancel'),