fix(测试用例): 修复用例详情附件名称删除附件提示信息显示超出

This commit is contained in:
xinxin.wu 2024-07-17 17:44:12 +08:00 committed by Craftsman
parent 0fd72ca240
commit 10ba0cc6c6
1 changed files with 2 additions and 2 deletions

View File

@ -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'),