From 1777b2c8d44d3d25bcec6625391c0031a809b3e5 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 13 Nov 2024 14:55:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8F=90=E7=A4=BA&=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/config/pathMap.ts | 7 ------- .../caseReview/components/index/moduleTree.vue | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/frontend/src/config/pathMap.ts b/frontend/src/config/pathMap.ts index 53e735a369..297cfd4801 100644 --- a/frontend/src/config/pathMap.ts +++ b/frontend/src/config/pathMap.ts @@ -241,13 +241,6 @@ export const pathMap: PathMapItem[] = [ }, ], }, - { - key: 'CASE_MANAGEMENT_CASE_DETAIL', // 功能测试-功能用例-用例详情 - locale: 'menu.caseManagement.featureCaseDetail', - route: RouteEnum.CASE_MANAGEMENT_CASE_DETAIL, - permission: [], - level: MENU_LEVEL[2], - }, { key: 'CASE_MANAGEMENT_REVIEW', // 功能测试-功能用例-用例评审 locale: 'menu.caseManagement.caseManagementReview', diff --git a/frontend/src/views/case-management/caseReview/components/index/moduleTree.vue b/frontend/src/views/case-management/caseReview/components/index/moduleTree.vue index ea911896cf..2014b95d45 100644 --- a/frontend/src/views/case-management/caseReview/components/index/moduleTree.vue +++ b/frontend/src/views/case-management/caseReview/components/index/moduleTree.vue @@ -123,7 +123,7 @@ import { useI18n } from '@/hooks/useI18n'; import useModal from '@/hooks/useModal'; import useAppStore from '@/store/modules/app'; - import { mapTree } from '@/utils'; + import { characterLimit, mapTree } from '@/utils'; import { hasAnyPermission } from '@/utils/permission'; import { ModuleTreeNode } from '@/models/common'; @@ -256,7 +256,7 @@ function deleteFolder(node: MsTreeNodeData) { openModal({ type: 'error', - title: t('caseManagement.caseReview.deleteFolderTipTitle', { name: node.name }), + title: t('caseManagement.caseReview.deleteFolderTipTitle', { name: characterLimit(node.name) }), content: t('caseManagement.caseReview.deleteFolderTipContent'), okText: t('caseManagement.caseReview.deleteConfirm'), okButtonProps: {