fix(测试用例): 删除提示&日志对象

This commit is contained in:
baiqi 2024-11-13 14:55:02 +08:00 committed by Craftsman
parent 9552f43d1a
commit 1777b2c8d4
2 changed files with 2 additions and 9 deletions

View File

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

View File

@ -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: {