fix(测试用例): 修复用例详情附件名称删除附件提示信息显示超出
This commit is contained in:
parent
0fd72ca240
commit
10ba0cc6c6
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue