fix(测试计划): 修复计划组名称较长执行历史抽屉页显示异常

This commit is contained in:
xinxin.wu 2024-07-17 17:37:07 +08:00 committed by 刘瑞斌
parent 390f1f0e66
commit 0fd72ca240
2 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,7 @@
<div class="text-[var(--color-text-2)]">
{{
t('ms.minders.selectedCases', {
count: selectedAssociateCasesParams.totalCount,
count: selectedAssociateCasesParams.totalCount || 0,
})
}}
</div>

View File

@ -351,7 +351,9 @@
<template #title>
<div class="flex items-center">
<div>{{ t('testPlan.featureCase.executionHistory') }}</div>
<div class="text-[var(--color-text-4)]"> {{ activeRecord?.name }} </div>
<a-tooltip :content="activeRecord?.name" :mouse-enter-delay="300">
<div class="text-[var(--color-text-4)]"> {{ characterLimit(activeRecord?.name) }} </div>
</a-tooltip>
</div>
</template>
<executeHistoryTable v-if="executionHistoryDrawerVisible" :plan-id="activeRecord?.id" is-group />