fix(测试用例): 删除提示&日志对象
This commit is contained in:
parent
9552f43d1a
commit
1777b2c8d4
|
@ -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', // 功能测试-功能用例-用例评审
|
key: 'CASE_MANAGEMENT_REVIEW', // 功能测试-功能用例-用例评审
|
||||||
locale: 'menu.caseManagement.caseManagementReview',
|
locale: 'menu.caseManagement.caseManagementReview',
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
import { useI18n } from '@/hooks/useI18n';
|
import { useI18n } from '@/hooks/useI18n';
|
||||||
import useModal from '@/hooks/useModal';
|
import useModal from '@/hooks/useModal';
|
||||||
import useAppStore from '@/store/modules/app';
|
import useAppStore from '@/store/modules/app';
|
||||||
import { mapTree } from '@/utils';
|
import { characterLimit, mapTree } from '@/utils';
|
||||||
import { hasAnyPermission } from '@/utils/permission';
|
import { hasAnyPermission } from '@/utils/permission';
|
||||||
|
|
||||||
import { ModuleTreeNode } from '@/models/common';
|
import { ModuleTreeNode } from '@/models/common';
|
||||||
|
@ -256,7 +256,7 @@
|
||||||
function deleteFolder(node: MsTreeNodeData) {
|
function deleteFolder(node: MsTreeNodeData) {
|
||||||
openModal({
|
openModal({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
title: t('caseManagement.caseReview.deleteFolderTipTitle', { name: node.name }),
|
title: t('caseManagement.caseReview.deleteFolderTipTitle', { name: characterLimit(node.name) }),
|
||||||
content: t('caseManagement.caseReview.deleteFolderTipContent'),
|
content: t('caseManagement.caseReview.deleteFolderTipContent'),
|
||||||
okText: t('caseManagement.caseReview.deleteConfirm'),
|
okText: t('caseManagement.caseReview.deleteConfirm'),
|
||||||
okButtonProps: {
|
okButtonProps: {
|
||||||
|
|
Loading…
Reference in New Issue